Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-14 23:59:03.495739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', 2), ('/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', 2), ('/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', 2), ('/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', 2), ('/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg', 2), ('/home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_01_9167.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', '/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', '/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', '/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', '/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg', '/home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_01_9167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg
/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg
/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg
/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg
/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg
/home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_01_9167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 145.41404366493225 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 0x75452190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:02:02.872411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg', 2), ('/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', 2), ('/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', 2), ('/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', 2), ('/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', 2), ('/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg', '/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', '/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', '/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', '/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', '/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg
/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg
/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg
/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg
/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg
/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.12818431854248 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 0x754ab210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:05:04.023869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg', 2), ('/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', 2), ('/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', 2), ('/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', 2), ('/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', 2), ('/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg', '/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', '/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', '/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', '/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', '/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg
/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg
/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg
/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg
/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg
/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 143.2898108959198 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 0x754421d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:08:02.964995
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/07/image_15042025_00_07_01_7508.jpg', 2), ('/home/pi/Desktop/images/15042025/00/00/image_15042025_00_00_01_3701.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75458530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75458530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:11:03.046351
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/10/image_15042025_00_10_02_2460.jpg', 2), ('/home/pi/Desktop/images/15042025/00/09/image_15042025_00_09_01_6526.jpg', 2), ('/home/pi/Desktop/images/15042025/00/08/image_15042025_00_08_01_3994.jpg', 2), ('/home/pi/Desktop/images/15042025/00/07/image_15042025_00_07_01_7508.jpg', 2), ('/home/pi/Desktop/images/15042025/00/00/image_15042025_00_00_01_3701.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75538470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75538470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:14:02.700185
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/12/image_15042025_00_12_01_3320.jpg', 2), ('/home/pi/Desktop/images/15042025/00/11/image_15042025_00_11_01_6385.jpg', 2), ('/home/pi/Desktop/images/15042025/00/10/image_15042025_00_10_02_2460.jpg', 2), ('/home/pi/Desktop/images/15042025/00/09/image_15042025_00_09_01_6526.jpg', 2), ('/home/pi/Desktop/images/15042025/00/08/image_15042025_00_08_01_3994.jpg', 2), ('/home/pi/Desktop/images/15042025/00/07/image_15042025_00_07_01_7508.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7545d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:17:03.807621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg', 2), ('/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg', 2), ('/home/pi/Desktop/images/15042025/00/14/image_15042025_00_14_01_9149.jpg', 2), ('/home/pi/Desktop/images/15042025/00/12/image_15042025_00_12_01_3320.jpg', 2), ('/home/pi/Desktop/images/15042025/00/11/image_15042025_00_11_01_6385.jpg', 2), ('/home/pi/Desktop/images/15042025/00/10/image_15042025_00_10_02_2460.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546e530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546e530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:20:03.001329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg', 2), ('/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg', 2), ('/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg', 2), ('/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg', 2), ('/home/pi/Desktop/images/15042025/00/14/image_15042025_00_14_01_9149.jpg', 2), ('/home/pi/Desktop/images/15042025/00/12/image_15042025_00_12_01_3320.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b25f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b25f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:23:03.252080
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/19/image_15042025_00_19_01_6745.jpg', 2), ('/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg', 2), ('/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg', 2), ('/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg', 2), ('/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg', 2), ('/home/pi/Desktop/images/15042025/00/14/image_15042025_00_14_01_9149.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754394b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754394b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:26:06.274948
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/21/image_15042025_00_21_01_5884.jpg', 2), ('/home/pi/Desktop/images/15042025/00/19/image_15042025_00_19_01_6745.jpg', 2), ('/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg', 2), ('/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg', 2), ('/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg', 2), ('/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75485490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75485490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:29:03.638623
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/28/image_15042025_00_28_01_5395.jpg', 2), ('/home/pi/Desktop/images/15042025/00/24/image_15042025_00_24_01_5615.jpg', 2), ('/home/pi/Desktop/images/15042025/00/21/image_15042025_00_21_01_5884.jpg', 2), ('/home/pi/Desktop/images/15042025/00/19/image_15042025_00_19_01_6745.jpg', 2), ('/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg', 2), ('/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7549c450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549c450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:32:03.257204
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/31/image_15042025_00_31_01_3852.jpg', 2), ('/home/pi/Desktop/images/15042025/00/30/image_15042025_00_30_01_7463.jpg', 2), ('/home/pi/Desktop/images/15042025/00/29/image_15042025_00_29_01_5402.jpg', 2), ('/home/pi/Desktop/images/15042025/00/28/image_15042025_00_28_01_5395.jpg', 2), ('/home/pi/Desktop/images/15042025/00/24/image_15042025_00_24_01_5615.jpg', 2), ('/home/pi/Desktop/images/15042025/00/21/image_15042025_00_21_01_5884.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75497450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75497450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:35:03.605197
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg', 2), ('/home/pi/Desktop/images/15042025/00/33/image_15042025_00_33_01_9236.jpg', 2), ('/home/pi/Desktop/images/15042025/00/32/image_15042025_00_32_01_4696.jpg', 2), ('/home/pi/Desktop/images/15042025/00/31/image_15042025_00_31_01_3852.jpg', 2), ('/home/pi/Desktop/images/15042025/00/30/image_15042025_00_30_01_7463.jpg', 2), ('/home/pi/Desktop/images/15042025/00/29/image_15042025_00_29_01_5402.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d2490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d2490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:38:02.888214
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg', 2), ('/home/pi/Desktop/images/15042025/00/35/image_15042025_00_35_01_7424.jpg', 2), ('/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg', 2), ('/home/pi/Desktop/images/15042025/00/33/image_15042025_00_33_01_9236.jpg', 2), ('/home/pi/Desktop/images/15042025/00/32/image_15042025_00_32_01_4696.jpg', 2), ('/home/pi/Desktop/images/15042025/00/31/image_15042025_00_31_01_3852.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754bd550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:41:04.038863
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg', 2), ('/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg', 2), ('/home/pi/Desktop/images/15042025/00/35/image_15042025_00_35_01_7424.jpg', 2), ('/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg', 2), ('/home/pi/Desktop/images/15042025/00/33/image_15042025_00_33_01_9236.jpg', 2), ('/home/pi/Desktop/images/15042025/00/32/image_15042025_00_32_01_4696.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754dc410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754dc410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:44:03.312293
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg', 2), ('/home/pi/Desktop/images/15042025/00/41/image_15042025_00_41_01_3827.jpg', 2), ('/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg', 2), ('/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg', 2), ('/home/pi/Desktop/images/15042025/00/35/image_15042025_00_35_01_7424.jpg', 2), ('/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75519570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75519570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:47:03.737211
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/46/image_15042025_00_46_02_2780.jpg', 2), ('/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg', 2), ('/home/pi/Desktop/images/15042025/00/42/image_15042025_00_42_02_2797.jpg', 2), ('/home/pi/Desktop/images/15042025/00/41/image_15042025_00_41_01_3827.jpg', 2), ('/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg', 2), ('/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75514510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75514510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:50:02.631842
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/47/image_15042025_00_47_01_6572.jpg', 2), ('/home/pi/Desktop/images/15042025/00/46/image_15042025_00_46_02_2780.jpg', 2), ('/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg', 2), ('/home/pi/Desktop/images/15042025/00/42/image_15042025_00_42_02_2797.jpg', 2), ('/home/pi/Desktop/images/15042025/00/41/image_15042025_00_41_01_3827.jpg', 2), ('/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754803d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754803d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:53:03.199939
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/52/image_15042025_00_52_02_1582.jpg', 2), ('/home/pi/Desktop/images/15042025/00/51/image_15042025_00_51_01_3048.jpg', 2), ('/home/pi/Desktop/images/15042025/00/48/image_15042025_00_48_01_8366.jpg', 2), ('/home/pi/Desktop/images/15042025/00/47/image_15042025_00_47_01_6572.jpg', 2), ('/home/pi/Desktop/images/15042025/00/46/image_15042025_00_46_02_2780.jpg', 2), ('/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75504450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75504450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:56:03.320384
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 00:59:03.199536
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg', 2), ('/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_01_3371.jpg', 2), ('/home/pi/Desktop/images/15042025/00/55/image_15042025_00_55_02_1107.jpg', 2), ('/home/pi/Desktop/images/15042025/00/53/image_15042025_00_53_02_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/00/52/image_15042025_00_52_02_1582.jpg', 2), ('/home/pi/Desktop/images/15042025/00/51/image_15042025_00_51_01_3048.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75504430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75504430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:02:03.279248
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg', 2), ('/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg', 2), ('/home/pi/Desktop/images/15042025/00/59/image_15042025_00_59_02_2270.jpg', 2), ('/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg', 2), ('/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_01_3371.jpg', 2), ('/home/pi/Desktop/images/15042025/00/55/image_15042025_00_55_02_1107.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75533410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75533410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:05:03.678531
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg', 2), ('/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg', 2), ('/home/pi/Desktop/images/15042025/00/59/image_15042025_00_59_02_2270.jpg', 2), ('/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg', 2), ('/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_01_3371.jpg', 2), ('/home/pi/Desktop/images/15042025/00/55/image_15042025_00_55_02_1107.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75446590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75446590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:08:03.286535
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_01_3658.jpg', 2), ('/home/pi/Desktop/images/15042025/01/02/image_15042025_01_02_01_4495.jpg', 2), ('/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg', 2), ('/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg', 2), ('/home/pi/Desktop/images/15042025/00/59/image_15042025_00_59_02_2270.jpg', 2), ('/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754da4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:11:03.310375
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg', 2), ('/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg', 2), ('/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_01_3658.jpg', 2), ('/home/pi/Desktop/images/15042025/01/02/image_15042025_01_02_01_4495.jpg', 2), ('/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg', 2), ('/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a54b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a54b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:14:03.121666
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg', 2), ('/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg', 2), ('/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg', 2), ('/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_01_3658.jpg', 2), ('/home/pi/Desktop/images/15042025/01/02/image_15042025_01_02_01_4495.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75472630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75472630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:17:03.586639
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg', 2), ('/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg', 2), ('/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg', 2), ('/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg', 2), ('/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547c690>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547c690>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:20:03.481031
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg', 2), ('/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg', 2), ('/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg', 2), ('/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg', 2), ('/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546f430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:23:03.887765
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/15042025/01/17/image_15042025_01_17_01_5081.jpg', 2), ('/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg', 2), ('/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg', 2), ('/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg', 2), ('/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f2450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f2450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:26:06.626636
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/25/image_15042025_01_25_01_9469.jpg', 2), ('/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_01_9710.jpg', 2), ('/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/15042025/01/17/image_15042025_01_17_01_5081.jpg', 2), ('/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg', 2), ('/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c6490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c6490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:29:03.987271
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg', 2), ('/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_01_5653.jpg', 2), ('/home/pi/Desktop/images/15042025/01/26/image_15042025_01_26_01_5826.jpg', 2), ('/home/pi/Desktop/images/15042025/01/25/image_15042025_01_25_01_9469.jpg', 2), ('/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_01_9710.jpg', 2), ('/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_01_5080.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543c410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543c410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:32:02.843465
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg', 2), ('/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg', 2), ('/home/pi/Desktop/images/15042025/01/29/image_15042025_01_29_01_8784.jpg', 2), ('/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg', 2), ('/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_01_5653.jpg', 2), ('/home/pi/Desktop/images/15042025/01/26/image_15042025_01_26_01_5826.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    image = Image.open(imagename)
  File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2687, in open
    % (filename if filename else fp))
OSError: cannot identify image file '/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f5150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f5150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:35:03.467532
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg', 2), ('/home/pi/Desktop/images/15042025/01/31/image_15042025_01_31_01_7418.jpg', 2), ('/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg', 2), ('/home/pi/Desktop/images/15042025/01/29/image_15042025_01_29_01_8784.jpg', 2), ('/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg', 2), ('/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_01_5653.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c95d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c95d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:38:03.131018
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/34/image_15042025_01_34_01_6385.jpg', 2), ('/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg', 2), ('/home/pi/Desktop/images/15042025/01/31/image_15042025_01_31_01_7418.jpg', 2), ('/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg', 2), ('/home/pi/Desktop/images/15042025/01/29/image_15042025_01_29_01_8784.jpg', 2), ('/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75440610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75440610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:41:03.760674
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/40/image_15042025_01_40_02_0972.jpg', 2), ('/home/pi/Desktop/images/15042025/01/37/image_15042025_01_37_01_3511.jpg', 2), ('/home/pi/Desktop/images/15042025/01/34/image_15042025_01_34_01_6385.jpg', 2), ('/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg', 2), ('/home/pi/Desktop/images/15042025/01/31/image_15042025_01_31_01_7418.jpg', 2), ('/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754be5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754be5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:44:02.843897
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_01_6183.jpg', 2), ('/home/pi/Desktop/images/15042025/01/42/image_15042025_01_42_01_9957.jpg', 2), ('/home/pi/Desktop/images/15042025/01/41/image_15042025_01_41_01_7921.jpg', 2), ('/home/pi/Desktop/images/15042025/01/40/image_15042025_01_40_02_0972.jpg', 2), ('/home/pi/Desktop/images/15042025/01/37/image_15042025_01_37_01_3511.jpg', 2), ('/home/pi/Desktop/images/15042025/01/34/image_15042025_01_34_01_6385.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ce590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ce590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:47:03.761586
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/46/image_15042025_01_46_01_6329.jpg', 2), ('/home/pi/Desktop/images/15042025/01/45/image_15042025_01_45_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/01/44/image_15042025_01_44_01_8917.jpg', 2), ('/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_01_6183.jpg', 2), ('/home/pi/Desktop/images/15042025/01/42/image_15042025_01_42_01_9957.jpg', 2), ('/home/pi/Desktop/images/15042025/01/41/image_15042025_01_41_01_7921.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547a4b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547a4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:50:03.032426
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/49/image_15042025_01_49_01_8582.jpg', 2), ('/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_01_8928.jpg', 2), ('/home/pi/Desktop/images/15042025/01/46/image_15042025_01_46_01_6329.jpg', 2), ('/home/pi/Desktop/images/15042025/01/45/image_15042025_01_45_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/01/44/image_15042025_01_44_01_8917.jpg', 2), ('/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_01_6183.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754674b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754674b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:53:03.236799
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/51/image_15042025_01_51_01_6266.jpg', 2), ('/home/pi/Desktop/images/15042025/01/50/image_15042025_01_50_02_0510.jpg', 2), ('/home/pi/Desktop/images/15042025/01/49/image_15042025_01_49_01_8582.jpg', 2), ('/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_01_8928.jpg', 2), ('/home/pi/Desktop/images/15042025/01/46/image_15042025_01_46_01_6329.jpg', 2), ('/home/pi/Desktop/images/15042025/01/45/image_15042025_01_45_01_3625.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b05d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b05d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:56:02.930864
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 01:59:03.579667
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/01/58/image_15042025_01_58_01_9871.jpg', 2), ('/home/pi/Desktop/images/15042025/01/57/image_15042025_01_57_01_5652.jpg', 2), ('/home/pi/Desktop/images/15042025/01/52/image_15042025_01_52_01_8172.jpg', 2), ('/home/pi/Desktop/images/15042025/01/51/image_15042025_01_51_01_6266.jpg', 2), ('/home/pi/Desktop/images/15042025/01/50/image_15042025_01_50_02_0510.jpg', 2), ('/home/pi/Desktop/images/15042025/01/49/image_15042025_01_49_01_8582.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7545a4b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545a4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:02:03.389215
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/00/image_15042025_02_00_01_7677.jpg', 2), ('/home/pi/Desktop/images/15042025/01/59/image_15042025_01_59_01_5192.jpg', 2), ('/home/pi/Desktop/images/15042025/01/58/image_15042025_01_58_01_9871.jpg', 2), ('/home/pi/Desktop/images/15042025/01/57/image_15042025_01_57_01_5652.jpg', 2), ('/home/pi/Desktop/images/15042025/01/52/image_15042025_01_52_01_8172.jpg', 2), ('/home/pi/Desktop/images/15042025/01/51/image_15042025_01_51_01_6266.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552b490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552b490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:05:04.041488
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/02/image_15042025_02_02_01_6023.jpg', 2), ('/home/pi/Desktop/images/15042025/02/00/image_15042025_02_00_01_7677.jpg', 2), ('/home/pi/Desktop/images/15042025/01/59/image_15042025_01_59_01_5192.jpg', 2), ('/home/pi/Desktop/images/15042025/01/58/image_15042025_01_58_01_9871.jpg', 2), ('/home/pi/Desktop/images/15042025/01/57/image_15042025_01_57_01_5652.jpg', 2), ('/home/pi/Desktop/images/15042025/01/52/image_15042025_01_52_01_8172.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75474590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75474590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:08:02.598068
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg', 2), ('/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg', 2), ('/home/pi/Desktop/images/15042025/02/05/image_15042025_02_05_02_0032.jpg', 2), ('/home/pi/Desktop/images/15042025/02/02/image_15042025_02_02_01_6023.jpg', 2), ('/home/pi/Desktop/images/15042025/02/00/image_15042025_02_00_01_7677.jpg', 2), ('/home/pi/Desktop/images/15042025/01/59/image_15042025_01_59_01_5192.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75485470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75485470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:11:03.087214
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', 2), ('/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg', 2), ('/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg', 2), ('/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg', 2), ('/home/pi/Desktop/images/15042025/02/05/image_15042025_02_05_02_0032.jpg', 2), ('/home/pi/Desktop/images/15042025/02/02/image_15042025_02_02_01_6023.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75493530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75493530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:14:03.236344
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2), ('/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', 2), ('/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg', 2), ('/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg', 2), ('/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg', 2), ('/home/pi/Desktop/images/15042025/02/05/image_15042025_02_05_02_0032.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75481530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75481530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:17:03.189416
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2), ('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2), ('/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', 2), ('/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg', 2), ('/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg', 2), ('/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75455590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75455590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:20:02.843025
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2), ('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2), ('/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', 2), ('/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg', 2), ('/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ec470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ec470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:23:03.756158
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2), ('/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg', 2), ('/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2), ('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2), ('/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75538490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75538490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:26:05.471014
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2), ('/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg', 2), ('/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2), ('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e04b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e04b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:29:04.102642
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2), ('/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg', 2), ('/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2), ('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75513610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75513610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:32:03.245120
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/26/image_15042025_02_26_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2), ('/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg', 2), ('/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a9490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a9490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:35:03.645058
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg', 2), ('/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', 2), ('/home/pi/Desktop/images/15042025/02/32/image_15042025_02_32_02_2925.jpg', 2), ('/home/pi/Desktop/images/15042025/02/26/image_15042025_02_26_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2), ('/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754415b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754415b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:38:02.821826
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg', 2), ('/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg', 2), ('/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', 2), ('/home/pi/Desktop/images/15042025/02/32/image_15042025_02_32_02_2925.jpg', 2), ('/home/pi/Desktop/images/15042025/02/26/image_15042025_02_26_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75f81850>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75f81850>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:41:03.302726
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', 2), ('/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', 2), ('/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg', 2), ('/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg', 2), ('/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg', 2), ('/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75500590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75500590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:44:02.718201
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', 2), ('/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', 2), ('/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg', 2), ('/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg', 2), ('/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg', 2), ('/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548f490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:47:03.611054
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', 2), ('/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', 2), ('/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg', 2), ('/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg', 2), ('/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg', 2), ('/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548c410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548c410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:50:02.763149
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg', 2), ('/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg', 2), ('/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg', 2), ('/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', 2), ('/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', 2), ('/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754905b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754905b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:53:03.067953
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg', 2), ('/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg', 2), ('/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg', 2), ('/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg', 2), ('/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', 2), ('/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ac5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ac5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:56:03.159616
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 02:59:03.169224
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg', 2), ('/home/pi/Desktop/images/15042025/02/57/image_15042025_02_57_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/02/56/image_15042025_02_56_01_3014.jpg', 2), ('/home/pi/Desktop/images/15042025/02/55/image_15042025_02_55_01_9931.jpg', 2), ('/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg', 2), ('/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75481450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75481450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:02:03.187771
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg', 2), ('/home/pi/Desktop/images/15042025/02/59/image_15042025_02_59_01_7067.jpg', 2), ('/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg', 2), ('/home/pi/Desktop/images/15042025/02/57/image_15042025_02_57_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/02/56/image_15042025_02_56_01_3014.jpg', 2), ('/home/pi/Desktop/images/15042025/02/55/image_15042025_02_55_01_9931.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75525410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75525410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:05:03.979268
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/03/image_15042025_03_03_01_7966.jpg', 2), ('/home/pi/Desktop/images/15042025/03/02/image_15042025_03_02_01_3465.jpg', 2), ('/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg', 2), ('/home/pi/Desktop/images/15042025/02/59/image_15042025_02_59_01_7067.jpg', 2), ('/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg', 2), ('/home/pi/Desktop/images/15042025/02/57/image_15042025_02_57_01_7989.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b85f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b85f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:08:02.817665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/05/image_15042025_03_05_01_7390.jpg', 2), ('/home/pi/Desktop/images/15042025/03/03/image_15042025_03_03_01_7966.jpg', 2), ('/home/pi/Desktop/images/15042025/03/02/image_15042025_03_02_01_3465.jpg', 2), ('/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg', 2), ('/home/pi/Desktop/images/15042025/02/59/image_15042025_02_59_01_7067.jpg', 2), ('/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546a490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546a490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:11:03.264522
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/10/image_15042025_03_10_01_7194.jpg', 2), ('/home/pi/Desktop/images/15042025/03/06/image_15042025_03_06_02_1500.jpg', 2), ('/home/pi/Desktop/images/15042025/03/05/image_15042025_03_05_01_7390.jpg', 2), ('/home/pi/Desktop/images/15042025/03/03/image_15042025_03_03_01_7966.jpg', 2), ('/home/pi/Desktop/images/15042025/03/02/image_15042025_03_02_01_3465.jpg', 2), ('/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a8490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a8490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:14:03.395732
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/13/image_15042025_03_13_01_4553.jpg', 2), ('/home/pi/Desktop/images/15042025/03/12/image_15042025_03_12_01_4881.jpg', 2), ('/home/pi/Desktop/images/15042025/03/11/image_15042025_03_11_01_2816.jpg', 2), ('/home/pi/Desktop/images/15042025/03/10/image_15042025_03_10_01_7194.jpg', 2), ('/home/pi/Desktop/images/15042025/03/06/image_15042025_03_06_02_1500.jpg', 2), ('/home/pi/Desktop/images/15042025/03/05/image_15042025_03_05_01_7390.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75500450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75500450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:17:03.874716
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/14/image_15042025_03_14_01_5384.jpg', 2), ('/home/pi/Desktop/images/15042025/03/13/image_15042025_03_13_01_4553.jpg', 2), ('/home/pi/Desktop/images/15042025/03/12/image_15042025_03_12_01_4881.jpg', 2), ('/home/pi/Desktop/images/15042025/03/11/image_15042025_03_11_01_2816.jpg', 2), ('/home/pi/Desktop/images/15042025/03/10/image_15042025_03_10_01_7194.jpg', 2), ('/home/pi/Desktop/images/15042025/03/06/image_15042025_03_06_02_1500.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a4590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a4590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:20:02.808095
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/19/image_15042025_03_19_01_8222.jpg', 2), ('/home/pi/Desktop/images/15042025/03/18/image_15042025_03_18_02_0482.jpg', 2), ('/home/pi/Desktop/images/15042025/03/16/image_15042025_03_16_01_3339.jpg', 2), ('/home/pi/Desktop/images/15042025/03/14/image_15042025_03_14_01_5384.jpg', 2), ('/home/pi/Desktop/images/15042025/03/13/image_15042025_03_13_01_4553.jpg', 2), ('/home/pi/Desktop/images/15042025/03/12/image_15042025_03_12_01_4881.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75537570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75537570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:23:03.557016
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/21/image_15042025_03_21_01_3548.jpg', 2), ('/home/pi/Desktop/images/15042025/03/20/image_15042025_03_20_02_0574.jpg', 2), ('/home/pi/Desktop/images/15042025/03/19/image_15042025_03_19_01_8222.jpg', 2), ('/home/pi/Desktop/images/15042025/03/18/image_15042025_03_18_02_0482.jpg', 2), ('/home/pi/Desktop/images/15042025/03/16/image_15042025_03_16_01_3339.jpg', 2), ('/home/pi/Desktop/images/15042025/03/14/image_15042025_03_14_01_5384.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754514b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754514b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:26:05.819615
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/24/image_15042025_03_24_01_7283.jpg', 2), ('/home/pi/Desktop/images/15042025/03/23/image_15042025_03_23_01_4484.jpg', 2), ('/home/pi/Desktop/images/15042025/03/21/image_15042025_03_21_01_3548.jpg', 2), ('/home/pi/Desktop/images/15042025/03/20/image_15042025_03_20_02_0574.jpg', 2), ('/home/pi/Desktop/images/15042025/03/19/image_15042025_03_19_01_8222.jpg', 2), ('/home/pi/Desktop/images/15042025/03/18/image_15042025_03_18_02_0482.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754525d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754525d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:29:03.837154
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/28/image_15042025_03_28_01_7170.jpg', 2), ('/home/pi/Desktop/images/15042025/03/26/image_15042025_03_26_01_5487.jpg', 2), ('/home/pi/Desktop/images/15042025/03/24/image_15042025_03_24_01_7283.jpg', 2), ('/home/pi/Desktop/images/15042025/03/23/image_15042025_03_23_01_4484.jpg', 2), ('/home/pi/Desktop/images/15042025/03/21/image_15042025_03_21_01_3548.jpg', 2), ('/home/pi/Desktop/images/15042025/03/20/image_15042025_03_20_02_0574.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75498490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75498490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:32:03.253136
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/31/image_15042025_03_31_02_0385.jpg', 2), ('/home/pi/Desktop/images/15042025/03/30/image_15042025_03_30_01_9655.jpg', 2), ('/home/pi/Desktop/images/15042025/03/29/image_15042025_03_29_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/03/28/image_15042025_03_28_01_7170.jpg', 2), ('/home/pi/Desktop/images/15042025/03/26/image_15042025_03_26_01_5487.jpg', 2), ('/home/pi/Desktop/images/15042025/03/24/image_15042025_03_24_01_7283.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7551f590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551f590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:35:03.525637
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/15042025/03/33/image_15042025_03_33_01_8535.jpg', 2), ('/home/pi/Desktop/images/15042025/03/32/image_15042025_03_32_01_1985.jpg', 2), ('/home/pi/Desktop/images/15042025/03/31/image_15042025_03_31_02_0385.jpg', 2), ('/home/pi/Desktop/images/15042025/03/30/image_15042025_03_30_01_9655.jpg', 2), ('/home/pi/Desktop/images/15042025/03/29/image_15042025_03_29_01_9226.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ff570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ff570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:38:03.445734
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/36/image_15042025_03_36_01_7404.jpg', 2), ('/home/pi/Desktop/images/15042025/03/35/image_15042025_03_35_01_6127.jpg', 2), ('/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/15042025/03/33/image_15042025_03_33_01_8535.jpg', 2), ('/home/pi/Desktop/images/15042025/03/32/image_15042025_03_32_01_1985.jpg', 2), ('/home/pi/Desktop/images/15042025/03/31/image_15042025_03_31_02_0385.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75509410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75509410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:41:03.175811
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/38/image_15042025_03_38_01_6167.jpg', 2), ('/home/pi/Desktop/images/15042025/03/36/image_15042025_03_36_01_7404.jpg', 2), ('/home/pi/Desktop/images/15042025/03/35/image_15042025_03_35_01_6127.jpg', 2), ('/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/15042025/03/33/image_15042025_03_33_01_8535.jpg', 2), ('/home/pi/Desktop/images/15042025/03/32/image_15042025_03_32_01_1985.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75534490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75534490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:44:03.360614
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg', 2), ('/home/pi/Desktop/images/15042025/03/39/image_15042025_03_39_02_2234.jpg', 2), ('/home/pi/Desktop/images/15042025/03/38/image_15042025_03_38_01_6167.jpg', 2), ('/home/pi/Desktop/images/15042025/03/36/image_15042025_03_36_01_7404.jpg', 2), ('/home/pi/Desktop/images/15042025/03/35/image_15042025_03_35_01_6127.jpg', 2), ('/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d55d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d55d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:47:03.538839
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/46/image_15042025_03_46_01_2867.jpg', 2), ('/home/pi/Desktop/images/15042025/03/45/image_15042025_03_45_01_9672.jpg', 2), ('/home/pi/Desktop/images/15042025/03/43/image_15042025_03_43_02_1552.jpg', 2), ('/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg', 2), ('/home/pi/Desktop/images/15042025/03/39/image_15042025_03_39_02_2234.jpg', 2), ('/home/pi/Desktop/images/15042025/03/38/image_15042025_03_38_01_6167.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75507590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75507590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:50:02.942700
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/47/image_15042025_03_47_01_8478.jpg', 2), ('/home/pi/Desktop/images/15042025/03/46/image_15042025_03_46_01_2867.jpg', 2), ('/home/pi/Desktop/images/15042025/03/45/image_15042025_03_45_01_9672.jpg', 2), ('/home/pi/Desktop/images/15042025/03/43/image_15042025_03_43_02_1552.jpg', 2), ('/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg', 2), ('/home/pi/Desktop/images/15042025/03/39/image_15042025_03_39_02_2234.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552f5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552f5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:53:03.481109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/50/image_15042025_03_50_02_1564.jpg', 2), ('/home/pi/Desktop/images/15042025/03/47/image_15042025_03_47_01_8478.jpg', 2), ('/home/pi/Desktop/images/15042025/03/46/image_15042025_03_46_01_2867.jpg', 2), ('/home/pi/Desktop/images/15042025/03/45/image_15042025_03_45_01_9672.jpg', 2), ('/home/pi/Desktop/images/15042025/03/43/image_15042025_03_43_02_1552.jpg', 2), ('/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75457490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75457490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:56:03.390697
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 03:59:03.919567
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg', 2), ('/home/pi/Desktop/images/15042025/03/57/image_15042025_03_57_02_1179.jpg', 2), ('/home/pi/Desktop/images/15042025/03/56/image_15042025_03_56_01_6049.jpg', 2), ('/home/pi/Desktop/images/15042025/03/55/image_15042025_03_55_01_2629.jpg', 2), ('/home/pi/Desktop/images/15042025/03/54/image_15042025_03_54_01_6860.jpg', 2), ('/home/pi/Desktop/images/15042025/03/52/image_15042025_03_52_02_0281.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755104b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755104b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:02:03.563614
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', 2), ('/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg', 2), ('/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg', 2), ('/home/pi/Desktop/images/15042025/03/57/image_15042025_03_57_02_1179.jpg', 2), ('/home/pi/Desktop/images/15042025/03/56/image_15042025_03_56_01_6049.jpg', 2), ('/home/pi/Desktop/images/15042025/03/55/image_15042025_03_55_01_2629.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    image = Image.open(imagename)
  File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2687, in open
    % (filename if filename else fp))
OSError: cannot identify image file '/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75509170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75509170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:05:03.804987
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', 2), ('/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg', 2), ('/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg', 2), ('/home/pi/Desktop/images/15042025/03/57/image_15042025_03_57_02_1179.jpg', 2), ('/home/pi/Desktop/images/15042025/03/56/image_15042025_03_56_01_6049.jpg', 2), ('/home/pi/Desktop/images/15042025/03/55/image_15042025_03_55_01_2629.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7551d410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551d410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:08:02.803829
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/07/image_15042025_04_07_01_7585.jpg', 2), ('/home/pi/Desktop/images/15042025/04/06/image_15042025_04_06_02_0451.jpg', 2), ('/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', 2), ('/home/pi/Desktop/images/15042025/04/00/image_15042025_04_00_02_0721.jpg', 2), ('/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg', 2), ('/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543e3d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543e3d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:11:03.145770
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/08/image_15042025_04_08_02_0123.jpg', 2), ('/home/pi/Desktop/images/15042025/04/07/image_15042025_04_07_01_7585.jpg', 2), ('/home/pi/Desktop/images/15042025/04/06/image_15042025_04_06_02_0451.jpg', 2), ('/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', 2), ('/home/pi/Desktop/images/15042025/04/00/image_15042025_04_00_02_0721.jpg', 2), ('/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75501590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75501590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:14:02.795633
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/12/image_15042025_04_12_01_4172.jpg', 2), ('/home/pi/Desktop/images/15042025/04/09/image_15042025_04_09_01_4891.jpg', 2), ('/home/pi/Desktop/images/15042025/04/08/image_15042025_04_08_02_0123.jpg', 2), ('/home/pi/Desktop/images/15042025/04/07/image_15042025_04_07_01_7585.jpg', 2), ('/home/pi/Desktop/images/15042025/04/06/image_15042025_04_06_02_0451.jpg', 2), ('/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754bf530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bf530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:17:03.176507
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2), ('/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', 2), ('/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', 2), ('/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg', 2), ('/home/pi/Desktop/images/15042025/04/12/image_15042025_04_12_01_4172.jpg', 2), ('/home/pi/Desktop/images/15042025/04/09/image_15042025_04_09_01_4891.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c7430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c7430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:20:03.335255
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2), ('/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', 2), ('/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', 2), ('/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg', 2), ('/home/pi/Desktop/images/15042025/04/12/image_15042025_04_12_01_4172.jpg', 2), ('/home/pi/Desktop/images/15042025/04/09/image_15042025_04_09_01_4891.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b1590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b1590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:23:04.023757
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg', 2), ('/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg', 2), ('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2), ('/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', 2), ('/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', 2), ('/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546d450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546d450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:26:06.662876
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg', 2), ('/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg', 2), ('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2), ('/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', 2), ('/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', 2), ('/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543d450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543d450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:29:03.573595
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg', 2), ('/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg', 2), ('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2), ('/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', 2), ('/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', 2), ('/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75453650>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75453650>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:32:03.281867
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/31/image_15042025_04_31_01_3237.jpg', 2), ('/home/pi/Desktop/images/15042025/04/30/image_15042025_04_30_01_6807.jpg', 2), ('/home/pi/Desktop/images/15042025/04/23/image_15042025_04_23_01_8471.jpg', 2), ('/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg', 2), ('/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg', 2), ('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d7630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d7630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:35:02.934661
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2771.jpg', 2), ('/home/pi/Desktop/images/15042025/04/33/image_15042025_04_33_01_9626.jpg', 2), ('/home/pi/Desktop/images/15042025/04/32/image_15042025_04_32_01_6597.jpg', 2), ('/home/pi/Desktop/images/15042025/04/31/image_15042025_04_31_01_3237.jpg', 2), ('/home/pi/Desktop/images/15042025/04/30/image_15042025_04_30_01_6807.jpg', 2), ('/home/pi/Desktop/images/15042025/04/23/image_15042025_04_23_01_8471.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754855b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754855b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:38:03.266787
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/36/image_15042025_04_36_01_3164.jpg', 2), ('/home/pi/Desktop/images/15042025/04/35/image_15042025_04_35_02_0223.jpg', 2), ('/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2771.jpg', 2), ('/home/pi/Desktop/images/15042025/04/33/image_15042025_04_33_01_9626.jpg', 2), ('/home/pi/Desktop/images/15042025/04/32/image_15042025_04_32_01_6597.jpg', 2), ('/home/pi/Desktop/images/15042025/04/31/image_15042025_04_31_01_3237.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552d450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552d450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:41:03.866583
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/40/image_15042025_04_40_02_1417.jpg', 2), ('/home/pi/Desktop/images/15042025/04/38/image_15042025_04_38_01_4181.jpg', 2), ('/home/pi/Desktop/images/15042025/04/36/image_15042025_04_36_01_3164.jpg', 2), ('/home/pi/Desktop/images/15042025/04/35/image_15042025_04_35_02_0223.jpg', 2), ('/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2771.jpg', 2), ('/home/pi/Desktop/images/15042025/04/33/image_15042025_04_33_01_9626.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547f5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547f5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:44:02.626367
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/43/image_15042025_04_43_01_6679.jpg', 2), ('/home/pi/Desktop/images/15042025/04/41/image_15042025_04_41_01_7173.jpg', 2), ('/home/pi/Desktop/images/15042025/04/40/image_15042025_04_40_02_1417.jpg', 2), ('/home/pi/Desktop/images/15042025/04/38/image_15042025_04_38_01_4181.jpg', 2), ('/home/pi/Desktop/images/15042025/04/36/image_15042025_04_36_01_3164.jpg', 2), ('/home/pi/Desktop/images/15042025/04/35/image_15042025_04_35_02_0223.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75447430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75447430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:47:03.696074
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/46/image_15042025_04_46_01_2922.jpg', 2), ('/home/pi/Desktop/images/15042025/04/45/image_15042025_04_45_01_2162.jpg', 2), ('/home/pi/Desktop/images/15042025/04/44/image_15042025_04_44_01_8999.jpg', 2), ('/home/pi/Desktop/images/15042025/04/43/image_15042025_04_43_01_6679.jpg', 2), ('/home/pi/Desktop/images/15042025/04/41/image_15042025_04_41_01_7173.jpg', 2), ('/home/pi/Desktop/images/15042025/04/40/image_15042025_04_40_02_1417.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552d630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552d630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:50:02.785120
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/49/image_15042025_04_49_01_5679.jpg', 2), ('/home/pi/Desktop/images/15042025/04/48/image_15042025_04_48_01_9634.jpg', 2), ('/home/pi/Desktop/images/15042025/04/47/image_15042025_04_47_01_8017.jpg', 2), ('/home/pi/Desktop/images/15042025/04/46/image_15042025_04_46_01_2922.jpg', 2), ('/home/pi/Desktop/images/15042025/04/45/image_15042025_04_45_01_2162.jpg', 2), ('/home/pi/Desktop/images/15042025/04/44/image_15042025_04_44_01_8999.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7549b550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:53:03.211925
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/53/image_15042025_04_53_01_3337.jpg', 2), ('/home/pi/Desktop/images/15042025/04/51/image_15042025_04_51_01_4788.jpg', 2), ('/home/pi/Desktop/images/15042025/04/50/image_15042025_04_50_01_9927.jpg', 2), ('/home/pi/Desktop/images/15042025/04/49/image_15042025_04_49_01_5679.jpg', 2), ('/home/pi/Desktop/images/15042025/04/48/image_15042025_04_48_01_9634.jpg', 2), ('/home/pi/Desktop/images/15042025/04/47/image_15042025_04_47_01_8017.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550e470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550e470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:56:03.334336
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 04:59:03.889196
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/04/58/image_15042025_04_58_01_4072.jpg', 2), ('/home/pi/Desktop/images/15042025/04/57/image_15042025_04_57_02_0347.jpg', 2), ('/home/pi/Desktop/images/15042025/04/56/image_15042025_04_56_01_5064.jpg', 2), ('/home/pi/Desktop/images/15042025/04/55/image_15042025_04_55_02_1681.jpg', 2), ('/home/pi/Desktop/images/15042025/04/54/image_15042025_04_54_01_5274.jpg', 2), ('/home/pi/Desktop/images/15042025/04/53/image_15042025_04_53_01_3337.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c6590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:02:03.302221
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg', 2), ('/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg', 2), ('/home/pi/Desktop/images/15042025/04/58/image_15042025_04_58_01_4072.jpg', 2), ('/home/pi/Desktop/images/15042025/04/57/image_15042025_04_57_02_0347.jpg', 2), ('/home/pi/Desktop/images/15042025/04/56/image_15042025_04_56_01_5064.jpg', 2), ('/home/pi/Desktop/images/15042025/04/55/image_15042025_04_55_02_1681.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75474470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75474470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:05:03.156594
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', 2), ('/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg', 2), ('/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg', 2), ('/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg', 2), ('/home/pi/Desktop/images/15042025/04/58/image_15042025_04_58_01_4072.jpg', 2), ('/home/pi/Desktop/images/15042025/04/57/image_15042025_04_57_02_0347.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754da470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:08:02.929863
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/07/image_15042025_05_07_01_3813.jpg', 2), ('/home/pi/Desktop/images/15042025/05/06/image_15042025_05_06_01_6085.jpg', 2), ('/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', 2), ('/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg', 2), ('/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f3470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f3470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:11:03.340697
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/09/image_15042025_05_09_01_5534.jpg', 2), ('/home/pi/Desktop/images/15042025/05/08/image_15042025_05_08_01_7718.jpg', 2), ('/home/pi/Desktop/images/15042025/05/07/image_15042025_05_07_01_3813.jpg', 2), ('/home/pi/Desktop/images/15042025/05/06/image_15042025_05_06_01_6085.jpg', 2), ('/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754595d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754595d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:14:02.727864
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/13/image_15042025_05_13_01_4141.jpg', 2), ('/home/pi/Desktop/images/15042025/05/11/image_15042025_05_11_01_4511.jpg', 2), ('/home/pi/Desktop/images/15042025/05/09/image_15042025_05_09_01_5534.jpg', 2), ('/home/pi/Desktop/images/15042025/05/08/image_15042025_05_08_01_7718.jpg', 2), ('/home/pi/Desktop/images/15042025/05/07/image_15042025_05_07_01_3813.jpg', 2), ('/home/pi/Desktop/images/15042025/05/06/image_15042025_05_06_01_6085.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550f490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550f490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:17:03.366576
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/16/image_15042025_05_16_01_6000.jpg', 2), ('/home/pi/Desktop/images/15042025/05/15/image_15042025_05_15_01_4408.jpg', 2), ('/home/pi/Desktop/images/15042025/05/14/image_15042025_05_14_01_7396.jpg', 2), ('/home/pi/Desktop/images/15042025/05/13/image_15042025_05_13_01_4141.jpg', 2), ('/home/pi/Desktop/images/15042025/05/11/image_15042025_05_11_01_4511.jpg', 2), ('/home/pi/Desktop/images/15042025/05/09/image_15042025_05_09_01_5534.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75467610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75467610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:20:03.558446
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/18/image_15042025_05_18_01_5218.jpg', 2), ('/home/pi/Desktop/images/15042025/05/17/image_15042025_05_17_02_2115.jpg', 2), ('/home/pi/Desktop/images/15042025/05/16/image_15042025_05_16_01_6000.jpg', 2), ('/home/pi/Desktop/images/15042025/05/15/image_15042025_05_15_01_4408.jpg', 2), ('/home/pi/Desktop/images/15042025/05/14/image_15042025_05_14_01_7396.jpg', 2), ('/home/pi/Desktop/images/15042025/05/13/image_15042025_05_13_01_4141.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550f3f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550f3f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:23:04.035226
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_01_4998.jpg', 2), ('/home/pi/Desktop/images/15042025/05/21/image_15042025_05_21_02_2458.jpg', 2), ('/home/pi/Desktop/images/15042025/05/19/image_15042025_05_19_01_6124.jpg', 2), ('/home/pi/Desktop/images/15042025/05/18/image_15042025_05_18_01_5218.jpg', 2), ('/home/pi/Desktop/images/15042025/05/17/image_15042025_05_17_02_2115.jpg', 2), ('/home/pi/Desktop/images/15042025/05/16/image_15042025_05_16_01_6000.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754dc430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754dc430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:26:06.639967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/25/image_15042025_05_25_02_0805.jpg', 2), ('/home/pi/Desktop/images/15042025/05/24/image_15042025_05_24_02_2577.jpg', 2), ('/home/pi/Desktop/images/15042025/05/23/image_15042025_05_23_01_9747.jpg', 2), ('/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_01_4998.jpg', 2), ('/home/pi/Desktop/images/15042025/05/21/image_15042025_05_21_02_2458.jpg', 2), ('/home/pi/Desktop/images/15042025/05/19/image_15042025_05_19_01_6124.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fe410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fe410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:29:03.567938
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/26/image_15042025_05_26_01_9717.jpg', 2), ('/home/pi/Desktop/images/15042025/05/25/image_15042025_05_25_02_0805.jpg', 2), ('/home/pi/Desktop/images/15042025/05/24/image_15042025_05_24_02_2577.jpg', 2), ('/home/pi/Desktop/images/15042025/05/23/image_15042025_05_23_01_9747.jpg', 2), ('/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_01_4998.jpg', 2), ('/home/pi/Desktop/images/15042025/05/21/image_15042025_05_21_02_2458.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552b470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552b470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:32:03.495089
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/31/image_15042025_05_31_01_3158.jpg', 2), ('/home/pi/Desktop/images/15042025/05/30/image_15042025_05_30_01_6601.jpg', 2), ('/home/pi/Desktop/images/15042025/05/29/image_15042025_05_29_01_4764.jpg', 2), ('/home/pi/Desktop/images/15042025/05/26/image_15042025_05_26_01_9717.jpg', 2), ('/home/pi/Desktop/images/15042025/05/25/image_15042025_05_25_02_0805.jpg', 2), ('/home/pi/Desktop/images/15042025/05/24/image_15042025_05_24_02_2577.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7551d5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551d5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:35:04.042023
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/34/image_15042025_05_34_02_0762.jpg', 2), ('/home/pi/Desktop/images/15042025/05/33/image_15042025_05_33_02_1706.jpg', 2), ('/home/pi/Desktop/images/15042025/05/32/image_15042025_05_32_01_5220.jpg', 2), ('/home/pi/Desktop/images/15042025/05/31/image_15042025_05_31_01_3158.jpg', 2), ('/home/pi/Desktop/images/15042025/05/30/image_15042025_05_30_01_6601.jpg', 2), ('/home/pi/Desktop/images/15042025/05/29/image_15042025_05_29_01_4764.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ba430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ba430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:38:02.790938
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/36/image_15042025_05_36_02_1579.jpg', 2), ('/home/pi/Desktop/images/15042025/05/35/image_15042025_05_35_01_9578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/34/image_15042025_05_34_02_0762.jpg', 2), ('/home/pi/Desktop/images/15042025/05/33/image_15042025_05_33_02_1706.jpg', 2), ('/home/pi/Desktop/images/15042025/05/32/image_15042025_05_32_01_5220.jpg', 2), ('/home/pi/Desktop/images/15042025/05/31/image_15042025_05_31_01_3158.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fc610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fc610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:41:03.566953
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/40/image_15042025_05_40_01_8717.jpg', 2), ('/home/pi/Desktop/images/15042025/05/39/image_15042025_05_39_01_3930.jpg', 2), ('/home/pi/Desktop/images/15042025/05/38/image_15042025_05_38_01_3389.jpg', 2), ('/home/pi/Desktop/images/15042025/05/36/image_15042025_05_36_02_1579.jpg', 2), ('/home/pi/Desktop/images/15042025/05/35/image_15042025_05_35_01_9578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/34/image_15042025_05_34_02_0762.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754424b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754424b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:44:03.243265
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', 2), ('/home/pi/Desktop/images/15042025/05/42/image_15042025_05_42_01_7253.jpg', 2), ('/home/pi/Desktop/images/15042025/05/41/image_15042025_05_41_01_3629.jpg', 2), ('/home/pi/Desktop/images/15042025/05/40/image_15042025_05_40_01_8717.jpg', 2), ('/home/pi/Desktop/images/15042025/05/39/image_15042025_05_39_01_3930.jpg', 2), ('/home/pi/Desktop/images/15042025/05/38/image_15042025_05_38_01_3389.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c25d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c25d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:47:03.045317
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', 2), ('/home/pi/Desktop/images/15042025/05/42/image_15042025_05_42_01_7253.jpg', 2), ('/home/pi/Desktop/images/15042025/05/41/image_15042025_05_41_01_3629.jpg', 2), ('/home/pi/Desktop/images/15042025/05/40/image_15042025_05_40_01_8717.jpg', 2), ('/home/pi/Desktop/images/15042025/05/39/image_15042025_05_39_01_3930.jpg', 2), ('/home/pi/Desktop/images/15042025/05/38/image_15042025_05_38_01_3389.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755255b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755255b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:50:02.874363
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg', 2), ('/home/pi/Desktop/images/15042025/05/48/image_15042025_05_48_01_2681.jpg', 2), ('/home/pi/Desktop/images/15042025/05/44/image_15042025_05_44_01_9638.jpg', 2), ('/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', 2), ('/home/pi/Desktop/images/15042025/05/42/image_15042025_05_42_01_7253.jpg', 2), ('/home/pi/Desktop/images/15042025/05/41/image_15042025_05_41_01_3629.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75513570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75513570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:53:03.482980
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg', 2), ('/home/pi/Desktop/images/15042025/05/50/image_15042025_05_50_01_8780.jpg', 2), ('/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg', 2), ('/home/pi/Desktop/images/15042025/05/48/image_15042025_05_48_01_2681.jpg', 2), ('/home/pi/Desktop/images/15042025/05/44/image_15042025_05_44_01_9638.jpg', 2), ('/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75522430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75522430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:56:03.488300
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 05:59:03.190776
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg', 2), ('/home/pi/Desktop/images/15042025/05/50/image_15042025_05_50_01_8780.jpg', 2), ('/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg', 2), ('/home/pi/Desktop/images/15042025/05/48/image_15042025_05_48_01_2681.jpg', 2), ('/home/pi/Desktop/images/15042025/05/44/image_15042025_05_44_01_9638.jpg', 2), ('/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754eb590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754eb590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:02:03.247096
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/01/image_15042025_06_01_02_2476.jpg', 2), ('/home/pi/Desktop/images/15042025/06/00/image_15042025_06_00_01_4134.jpg', 2), ('/home/pi/Desktop/images/15042025/05/52/image_15042025_05_52_01_8168.jpg', 2), ('/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg', 2), ('/home/pi/Desktop/images/15042025/05/50/image_15042025_05_50_01_8780.jpg', 2), ('/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75450470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75450470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:05:04.098703
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/03/image_15042025_06_03_01_8629.jpg', 2), ('/home/pi/Desktop/images/15042025/06/02/image_15042025_06_02_01_3968.jpg', 2), ('/home/pi/Desktop/images/15042025/06/01/image_15042025_06_01_02_2476.jpg', 2), ('/home/pi/Desktop/images/15042025/06/00/image_15042025_06_00_01_4134.jpg', 2), ('/home/pi/Desktop/images/15042025/05/52/image_15042025_05_52_01_8168.jpg', 2), ('/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546c3f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546c3f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:08:03.596469
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/04/image_15042025_06_04_02_1989.jpg', 2), ('/home/pi/Desktop/images/15042025/06/03/image_15042025_06_03_01_8629.jpg', 2), ('/home/pi/Desktop/images/15042025/06/02/image_15042025_06_02_01_3968.jpg', 2), ('/home/pi/Desktop/images/15042025/06/01/image_15042025_06_01_02_2476.jpg', 2), ('/home/pi/Desktop/images/15042025/06/00/image_15042025_06_00_01_4134.jpg', 2), ('/home/pi/Desktop/images/15042025/05/52/image_15042025_05_52_01_8168.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75486470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75486470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:11:03.963324
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/10/image_15042025_06_10_01_4337.jpg', 2), ('/home/pi/Desktop/images/15042025/06/09/image_15042025_06_09_02_1477.jpg', 2), ('/home/pi/Desktop/images/15042025/06/08/image_15042025_06_08_01_5471.jpg', 2), ('/home/pi/Desktop/images/15042025/06/04/image_15042025_06_04_02_1989.jpg', 2), ('/home/pi/Desktop/images/15042025/06/03/image_15042025_06_03_01_8629.jpg', 2), ('/home/pi/Desktop/images/15042025/06/02/image_15042025_06_02_01_3968.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75501530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75501530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:14:03.190706
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/13/image_15042025_06_13_01_9455.jpg', 2), ('/home/pi/Desktop/images/15042025/06/12/image_15042025_06_12_02_0356.jpg', 2), ('/home/pi/Desktop/images/15042025/06/11/image_15042025_06_11_01_8965.jpg', 2), ('/home/pi/Desktop/images/15042025/06/10/image_15042025_06_10_01_4337.jpg', 2), ('/home/pi/Desktop/images/15042025/06/09/image_15042025_06_09_02_1477.jpg', 2), ('/home/pi/Desktop/images/15042025/06/08/image_15042025_06_08_01_5471.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75457670>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75457670>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:17:03.715607
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/15/image_15042025_06_15_01_7981.jpg', 2), ('/home/pi/Desktop/images/15042025/06/14/image_15042025_06_14_02_1863.jpg', 2), ('/home/pi/Desktop/images/15042025/06/13/image_15042025_06_13_01_9455.jpg', 2), ('/home/pi/Desktop/images/15042025/06/12/image_15042025_06_12_02_0356.jpg', 2), ('/home/pi/Desktop/images/15042025/06/11/image_15042025_06_11_01_8965.jpg', 2), ('/home/pi/Desktop/images/15042025/06/10/image_15042025_06_10_01_4337.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754cc590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cc590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:20:03.474254
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/19/image_15042025_06_19_02_0274.jpg', 2), ('/home/pi/Desktop/images/15042025/06/18/image_15042025_06_18_01_9870.jpg', 2), ('/home/pi/Desktop/images/15042025/06/17/image_15042025_06_17_01_6479.jpg', 2), ('/home/pi/Desktop/images/15042025/06/15/image_15042025_06_15_01_7981.jpg', 2), ('/home/pi/Desktop/images/15042025/06/14/image_15042025_06_14_02_1863.jpg', 2), ('/home/pi/Desktop/images/15042025/06/13/image_15042025_06_13_01_9455.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d44b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d44b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:23:03.881343
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/21/image_15042025_06_21_02_0966.jpg', 2), ('/home/pi/Desktop/images/15042025/06/20/image_15042025_06_20_01_3639.jpg', 2), ('/home/pi/Desktop/images/15042025/06/19/image_15042025_06_19_02_0274.jpg', 2), ('/home/pi/Desktop/images/15042025/06/18/image_15042025_06_18_01_9870.jpg', 2), ('/home/pi/Desktop/images/15042025/06/17/image_15042025_06_17_01_6479.jpg', 2), ('/home/pi/Desktop/images/15042025/06/15/image_15042025_06_15_01_7981.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75497470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75497470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:26:06.964978
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_01_8980.jpg', 2), ('/home/pi/Desktop/images/15042025/06/24/image_15042025_06_24_02_2480.jpg', 2), ('/home/pi/Desktop/images/15042025/06/23/image_15042025_06_23_02_0595.jpg', 2), ('/home/pi/Desktop/images/15042025/06/21/image_15042025_06_21_02_0966.jpg', 2), ('/home/pi/Desktop/images/15042025/06/20/image_15042025_06_20_01_3639.jpg', 2), ('/home/pi/Desktop/images/15042025/06/19/image_15042025_06_19_02_0274.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fb630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fb630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:29:03.522695
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg', 2), ('/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', 2), ('/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg', 2), ('/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_01_8980.jpg', 2), ('/home/pi/Desktop/images/15042025/06/24/image_15042025_06_24_02_2480.jpg', 2), ('/home/pi/Desktop/images/15042025/06/23/image_15042025_06_23_02_0595.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ab450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ab450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:32:03.430456
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg', 2), ('/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg', 2), ('/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg', 2), ('/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', 2), ('/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg', 2), ('/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_01_8980.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    image = Image.open(imagename)
  File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2687, in open
    % (filename if filename else fp))
OSError: cannot identify image file '/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546d1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546d1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:35:03.762870
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/34/image_15042025_06_34_01_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg', 2), ('/home/pi/Desktop/images/15042025/06/32/image_15042025_06_32_01_6483.jpg', 2), ('/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg', 2), ('/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg', 2), ('/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a5450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a5450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:38:03.167009
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/37/image_15042025_06_37_01_4201.jpg', 2), ('/home/pi/Desktop/images/15042025/06/36/image_15042025_06_36_01_9382.jpg', 2), ('/home/pi/Desktop/images/15042025/06/35/image_15042025_06_35_01_7844.jpg', 2), ('/home/pi/Desktop/images/15042025/06/34/image_15042025_06_34_01_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg', 2), ('/home/pi/Desktop/images/15042025/06/32/image_15042025_06_32_01_6483.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a7590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a7590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:41:03.924944
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/40/image_15042025_06_40_02_2223.jpg', 2), ('/home/pi/Desktop/images/15042025/06/39/image_15042025_06_39_01_8363.jpg', 2), ('/home/pi/Desktop/images/15042025/06/38/image_15042025_06_38_01_6076.jpg', 2), ('/home/pi/Desktop/images/15042025/06/37/image_15042025_06_37_01_4201.jpg', 2), ('/home/pi/Desktop/images/15042025/06/36/image_15042025_06_36_01_9382.jpg', 2), ('/home/pi/Desktop/images/15042025/06/35/image_15042025_06_35_01_7844.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75463410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75463410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:44:03.021499
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/43/image_15042025_06_43_01_7368.jpg', 2), ('/home/pi/Desktop/images/15042025/06/42/image_15042025_06_42_01_9708.jpg', 2), ('/home/pi/Desktop/images/15042025/06/41/image_15042025_06_41_01_7587.jpg', 2), ('/home/pi/Desktop/images/15042025/06/40/image_15042025_06_40_02_2223.jpg', 2), ('/home/pi/Desktop/images/15042025/06/39/image_15042025_06_39_01_8363.jpg', 2), ('/home/pi/Desktop/images/15042025/06/38/image_15042025_06_38_01_6076.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755154b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755154b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:47:03.804525
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/46/image_15042025_06_46_01_8920.jpg', 2), ('/home/pi/Desktop/images/15042025/06/45/image_15042025_06_45_01_7430.jpg', 2), ('/home/pi/Desktop/images/15042025/06/44/image_15042025_06_44_01_8275.jpg', 2), ('/home/pi/Desktop/images/15042025/06/43/image_15042025_06_43_01_7368.jpg', 2), ('/home/pi/Desktop/images/15042025/06/42/image_15042025_06_42_01_9708.jpg', 2), ('/home/pi/Desktop/images/15042025/06/41/image_15042025_06_41_01_7587.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c0470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c0470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:50:03.217131
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/49/image_15042025_06_49_01_9568.jpg', 2), ('/home/pi/Desktop/images/15042025/06/48/image_15042025_06_48_02_0709.jpg', 2), ('/home/pi/Desktop/images/15042025/06/47/image_15042025_06_47_01_9480.jpg', 2), ('/home/pi/Desktop/images/15042025/06/46/image_15042025_06_46_01_8920.jpg', 2), ('/home/pi/Desktop/images/15042025/06/45/image_15042025_06_45_01_7430.jpg', 2), ('/home/pi/Desktop/images/15042025/06/44/image_15042025_06_44_01_8275.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75454570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75454570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:53:02.985413
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/52/image_15042025_06_52_02_2811.jpg', 2), ('/home/pi/Desktop/images/15042025/06/51/image_15042025_06_51_01_8172.jpg', 2), ('/home/pi/Desktop/images/15042025/06/50/image_15042025_06_50_02_2632.jpg', 2), ('/home/pi/Desktop/images/15042025/06/49/image_15042025_06_49_01_9568.jpg', 2), ('/home/pi/Desktop/images/15042025/06/48/image_15042025_06_48_02_0709.jpg', 2), ('/home/pi/Desktop/images/15042025/06/47/image_15042025_06_47_01_9480.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75534410>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75534410>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:56:03.021903
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 06:59:03.935536
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/06/58/image_15042025_06_58_02_1681.jpg', 2), ('/home/pi/Desktop/images/15042025/06/55/image_15042025_06_55_01_8272.jpg', 2), ('/home/pi/Desktop/images/15042025/06/53/image_15042025_06_53_02_0574.jpg', 2), ('/home/pi/Desktop/images/15042025/06/52/image_15042025_06_52_02_2811.jpg', 2), ('/home/pi/Desktop/images/15042025/06/51/image_15042025_06_51_01_8172.jpg', 2), ('/home/pi/Desktop/images/15042025/06/50/image_15042025_06_50_02_2632.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754683d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754683d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:02:02.752742
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/01/image_15042025_07_01_01_3588.jpg', 2), ('/home/pi/Desktop/images/15042025/07/00/image_15042025_07_00_02_1013.jpg', 2), ('/home/pi/Desktop/images/15042025/06/59/image_15042025_06_59_01_8755.jpg', 2), ('/home/pi/Desktop/images/15042025/06/58/image_15042025_06_58_02_1681.jpg', 2), ('/home/pi/Desktop/images/15042025/06/55/image_15042025_06_55_01_8272.jpg', 2), ('/home/pi/Desktop/images/15042025/06/53/image_15042025_06_53_02_0574.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754633f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754633f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:05:03.937666
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/03/image_15042025_07_03_01_4051.jpg', 2), ('/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_01_4430.jpg', 2), ('/home/pi/Desktop/images/15042025/07/01/image_15042025_07_01_01_3588.jpg', 2), ('/home/pi/Desktop/images/15042025/07/00/image_15042025_07_00_02_1013.jpg', 2), ('/home/pi/Desktop/images/15042025/06/59/image_15042025_06_59_01_8755.jpg', 2), ('/home/pi/Desktop/images/15042025/06/58/image_15042025_06_58_02_1681.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7544e470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544e470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:08:03.385717
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg', 2), ('/home/pi/Desktop/images/15042025/07/06/image_15042025_07_06_02_1257.jpg', 2), ('/home/pi/Desktop/images/15042025/07/05/image_15042025_07_05_01_9071.jpg', 2), ('/home/pi/Desktop/images/15042025/07/03/image_15042025_07_03_01_4051.jpg', 2), ('/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_01_4430.jpg', 2), ('/home/pi/Desktop/images/15042025/07/01/image_15042025_07_01_01_3588.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a34d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a34d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:11:03.640410
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg', 2), ('/home/pi/Desktop/images/15042025/07/09/image_15042025_07_09_02_0549.jpg', 2), ('/home/pi/Desktop/images/15042025/07/08/image_15042025_07_08_01_8039.jpg', 2), ('/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg', 2), ('/home/pi/Desktop/images/15042025/07/06/image_15042025_07_06_02_1257.jpg', 2), ('/home/pi/Desktop/images/15042025/07/05/image_15042025_07_05_01_9071.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754bc610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bc610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:14:02.902463
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/11/image_15042025_07_11_01_8472.jpg', 2), ('/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg', 2), ('/home/pi/Desktop/images/15042025/07/09/image_15042025_07_09_02_0549.jpg', 2), ('/home/pi/Desktop/images/15042025/07/08/image_15042025_07_08_01_8039.jpg', 2), ('/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg', 2), ('/home/pi/Desktop/images/15042025/07/06/image_15042025_07_06_02_1257.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754544f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754544f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:17:03.411400
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/13/image_15042025_07_13_01_6912.jpg', 2), ('/home/pi/Desktop/images/15042025/07/11/image_15042025_07_11_01_8472.jpg', 2), ('/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg', 2), ('/home/pi/Desktop/images/15042025/07/09/image_15042025_07_09_02_0549.jpg', 2), ('/home/pi/Desktop/images/15042025/07/08/image_15042025_07_08_01_8039.jpg', 2), ('/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a9590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a9590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:20:03.332541
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_01_1805.jpg', 2), ('/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_01_6980.jpg', 2), ('/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_01_5906.jpg', 2), ('/home/pi/Desktop/images/15042025/07/13/image_15042025_07_13_01_6912.jpg', 2), ('/home/pi/Desktop/images/15042025/07/11/image_15042025_07_11_01_8472.jpg', 2), ('/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c1450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c1450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:23:03.697728
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_01_4444.jpg', 2), ('/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_01_1805.jpg', 2), ('/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_01_6980.jpg', 2), ('/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_01_5906.jpg', 2), ('/home/pi/Desktop/images/15042025/07/13/image_15042025_07_13_01_6912.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75530550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75530550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:26:07.836451
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2), ('/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/07/22/image_15042025_07_22_01_2785.jpg', 2), ('/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_01_4444.jpg', 2), ('/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_01_1805.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754de3d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754de3d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:29:03.789626
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', 2), ('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2), ('/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/07/22/image_15042025_07_22_01_2785.jpg', 2), ('/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_01_4444.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550d3d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550d3d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:32:02.702298
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg', 2), ('/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', 2), ('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2), ('/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/07/22/image_15042025_07_22_01_2785.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546e450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546e450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:35:03.143203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg', 2), ('/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg', 2), ('/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', 2), ('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2), ('/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546f450>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:38:02.706147
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_01_7908.jpg', 2), ('/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg', 2), ('/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg', 2), ('/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', 2), ('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75525470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75525470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:41:03.507689
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_01_7908.jpg', 2), ('/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg', 2), ('/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg', 2), ('/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', 2), ('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754825b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754825b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:44:02.615177
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_01_3727.jpg', 2), ('/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_01_6722.jpg', 2), ('/home/pi/Desktop/images/15042025/07/36/image_15042025_07_36_01_3659.jpg', 2), ('/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_01_7908.jpg', 2), ('/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg', 2), ('/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75526510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75526510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:47:03.297516
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_01_6630.jpg', 2), ('/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_01_2065.jpg', 2), ('/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_01_5989.jpg', 2), ('/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_01_3727.jpg', 2), ('/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_01_6722.jpg', 2), ('/home/pi/Desktop/images/15042025/07/36/image_15042025_07_36_01_3659.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550e510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550e510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:50:03.042890
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_02_1372.jpg', 2), ('/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_01_3990.jpg', 2), ('/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_02_1943.jpg', 2), ('/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_01_6630.jpg', 2), ('/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_01_2065.jpg', 2), ('/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_01_5989.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75475510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75475510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:53:03.838102
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/52/image_15042025_07_52_02_0857.jpg', 2), ('/home/pi/Desktop/images/15042025/07/51/image_15042025_07_51_01_6937.jpg', 2), ('/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_02_2422.jpg', 2), ('/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_02_1372.jpg', 2), ('/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_01_3990.jpg', 2), ('/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_02_1943.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546b5f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546b5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:56:03.183350
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 07:59:04.021490
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_01_4107.jpg', 2), ('/home/pi/Desktop/images/15042025/07/57/image_15042025_07_57_01_9110.jpg', 2), ('/home/pi/Desktop/images/15042025/07/56/image_15042025_07_56_01_4136.jpg', 2), ('/home/pi/Desktop/images/15042025/07/55/image_15042025_07_55_01_7847.jpg', 2), ('/home/pi/Desktop/images/15042025/07/54/image_15042025_07_54_01_9074.jpg', 2), ('/home/pi/Desktop/images/15042025/07/53/image_15042025_07_53_01_8075.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755025f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755025f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:02:02.698014
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_01_8022.jpg', 2), ('/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_02_0789.jpg', 2), ('/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_01_9552.jpg', 2), ('/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_01_4107.jpg', 2), ('/home/pi/Desktop/images/15042025/07/57/image_15042025_07_57_01_9110.jpg', 2), ('/home/pi/Desktop/images/15042025/07/56/image_15042025_07_56_01_4136.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754705d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754705d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:05:03.862431
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/04/image_15042025_08_04_01_7477.jpg', 2), ('/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_01_3255.jpg', 2), ('/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_01_7808.jpg', 2), ('/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_01_8022.jpg', 2), ('/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_02_0789.jpg', 2), ('/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_01_9552.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ea470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ea470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:08:03.116081
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_01_9830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/06/image_15042025_08_06_02_2767.jpg', 2), ('/home/pi/Desktop/images/15042025/08/05/image_15042025_08_05_01_4790.jpg', 2), ('/home/pi/Desktop/images/15042025/08/04/image_15042025_08_04_01_7477.jpg', 2), ('/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_01_3255.jpg', 2), ('/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_01_7808.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754523f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754523f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:11:03.764161
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/08/image_15042025_08_08_02_0633.jpg', 2), ('/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_01_9830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/06/image_15042025_08_06_02_2767.jpg', 2), ('/home/pi/Desktop/images/15042025/08/05/image_15042025_08_05_01_4790.jpg', 2), ('/home/pi/Desktop/images/15042025/08/04/image_15042025_08_04_01_7477.jpg', 2), ('/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_01_3255.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e33b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e33b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:14:03.440762
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_01_5724.jpg', 2), ('/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_8043.jpg', 2), ('/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_01_5390.jpg', 2), ('/home/pi/Desktop/images/15042025/08/08/image_15042025_08_08_02_0633.jpg', 2), ('/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_01_9830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/06/image_15042025_08_06_02_2767.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754654b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754654b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:17:03.912523
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', 2), ('/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg', 2), ('/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_01_5724.jpg', 2), ('/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_8043.jpg', 2), ('/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_01_5390.jpg', 2), ('/home/pi/Desktop/images/15042025/08/08/image_15042025_08_08_02_0633.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7544b610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544b610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:20:03.156391
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_9413.jpg', 2), ('/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', 2), ('/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg', 2), ('/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', 2), ('/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg', 2), ('/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_01_5724.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75464430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75464430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:23:03.522809
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_01_4058.jpg', 2), ('/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_9413.jpg', 2), ('/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', 2), ('/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg', 2), ('/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', 2), ('/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543c470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543c470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:26:06.946828
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_01_3580.jpg', 2), ('/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_01_6150.jpg', 2), ('/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_01_6264.jpg', 2), ('/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_01_4058.jpg', 2), ('/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_9413.jpg', 2), ('/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a4550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a4550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:29:03.643716
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/28/image_15042025_08_28_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_01_9424.jpg', 2), ('/home/pi/Desktop/images/15042025/08/26/image_15042025_08_26_01_6829.jpg', 2), ('/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_01_3580.jpg', 2), ('/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_01_6150.jpg', 2), ('/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_01_6264.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547a470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547a470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:32:03.444785
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/30/image_15042025_08_30_01_8220.jpg', 2), ('/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_01_6260.jpg', 2), ('/home/pi/Desktop/images/15042025/08/28/image_15042025_08_28_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_01_9424.jpg', 2), ('/home/pi/Desktop/images/15042025/08/26/image_15042025_08_26_01_6829.jpg', 2), ('/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_01_3580.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7545a470>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545a470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:35:03.613900
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/34/image_15042025_08_34_01_2691.jpg', 2), ('/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_01_5119.jpg', 2), ('/home/pi/Desktop/images/15042025/08/30/image_15042025_08_30_01_8220.jpg', 2), ('/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_01_6260.jpg', 2), ('/home/pi/Desktop/images/15042025/08/28/image_15042025_08_28_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_01_9424.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f3590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:38:02.722791
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/37/image_15042025_08_37_01_8173.jpg', 2), ('/home/pi/Desktop/images/15042025/08/36/image_15042025_08_36_01_9590.jpg', 2), ('/home/pi/Desktop/images/15042025/08/35/image_15042025_08_35_01_9457.jpg', 2), ('/home/pi/Desktop/images/15042025/08/34/image_15042025_08_34_01_2691.jpg', 2), ('/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_01_5119.jpg', 2), ('/home/pi/Desktop/images/15042025/08/30/image_15042025_08_30_01_8220.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d84f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d84f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:41:03.039161
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_01_7422.jpg', 2), ('/home/pi/Desktop/images/15042025/08/38/image_15042025_08_38_01_8278.jpg', 2), ('/home/pi/Desktop/images/15042025/08/37/image_15042025_08_37_01_8173.jpg', 2), ('/home/pi/Desktop/images/15042025/08/36/image_15042025_08_36_01_9590.jpg', 2), ('/home/pi/Desktop/images/15042025/08/35/image_15042025_08_35_01_9457.jpg', 2), ('/home/pi/Desktop/images/15042025/08/34/image_15042025_08_34_01_2691.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754405b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754405b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:44:03.120108
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_02_1830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_02_1185.jpg', 2), ('/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_01_7422.jpg', 2), ('/home/pi/Desktop/images/15042025/08/38/image_15042025_08_38_01_8278.jpg', 2), ('/home/pi/Desktop/images/15042025/08/37/image_15042025_08_37_01_8173.jpg', 2), ('/home/pi/Desktop/images/15042025/08/36/image_15042025_08_36_01_9590.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75525430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75525430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:47:03.094883
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_01_9528.jpg', 2), ('/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_01_7152.jpg', 2), ('/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_01_2535.jpg', 2), ('/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_02_1830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_02_1185.jpg', 2), ('/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_01_7422.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548e550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548e550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:50:02.706525
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_01_8365.jpg', 2), ('/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_01_3333.jpg', 2), ('/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_01_2315.jpg', 2), ('/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_01_9528.jpg', 2), ('/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_01_7152.jpg', 2), ('/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_01_2535.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75464490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75464490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:53:03.185553
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_01_6688.jpg', 2), ('/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_01_3367.jpg', 2), ('/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_01_9079.jpg', 2), ('/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_01_8365.jpg', 2), ('/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_01_3333.jpg', 2), ('/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_01_2315.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75515430>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75515430>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:56:03.161516
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 08:59:03.814172
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_02_0174.jpg', 2), ('/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_01_8229.jpg', 2), ('/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_01_3655.jpg', 2), ('/home/pi/Desktop/images/15042025/08/55/image_15042025_08_55_02_1343.jpg', 2), ('/home/pi/Desktop/images/15042025/08/54/image_15042025_08_54_01_3277.jpg', 2), ('/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_01_2569.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754805d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754805d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:02:02.905744
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg', 2), ('/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_01_8154.jpg', 2), ('/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_01_9127.jpg', 2), ('/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_01_7702.jpg', 2), ('/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_02_0174.jpg', 2), ('/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_01_8229.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    image = Image.open(imagename)
  File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2687, in open
    % (filename if filename else fp))
OSError: cannot identify image file '/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754371b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754371b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:05:03.911315
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_01_6104.jpg', 2), ('/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg', 2), ('/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_01_9608.jpg', 2), ('/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_01_8154.jpg', 2), ('/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_01_9127.jpg', 2), ('/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_01_7702.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75474590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75474590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:08:03.578189
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/07/image_15042025_09_07_01_6786.jpg', 2), ('/home/pi/Desktop/images/15042025/09/06/image_15042025_09_06_02_1026.jpg', 2), ('/home/pi/Desktop/images/15042025/09/05/image_15042025_09_05_01_9982.jpg', 2), ('/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_01_6104.jpg', 2), ('/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg', 2), ('/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_01_9608.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e85b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e85b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:11:03.925235
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/09/image_15042025_09_09_02_2096.jpg', 2), ('/home/pi/Desktop/images/15042025/09/08/image_15042025_09_08_01_7953.jpg', 2), ('/home/pi/Desktop/images/15042025/09/07/image_15042025_09_07_01_6786.jpg', 2), ('/home/pi/Desktop/images/15042025/09/06/image_15042025_09_06_02_1026.jpg', 2), ('/home/pi/Desktop/images/15042025/09/05/image_15042025_09_05_01_9982.jpg', 2), ('/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_01_6104.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754bc4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bc4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:14:03.258835
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', 2), ('/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg', 2), ('/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg', 2), ('/home/pi/Desktop/images/15042025/09/09/image_15042025_09_09_02_2096.jpg', 2), ('/home/pi/Desktop/images/15042025/09/08/image_15042025_09_08_01_7953.jpg', 2), ('/home/pi/Desktop/images/15042025/09/07/image_15042025_09_07_01_6786.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a2490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a2490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:17:03.574805
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/15/image_15042025_09_15_01_9478.jpg', 2), ('/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', 2), ('/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg', 2), ('/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg', 2), ('/home/pi/Desktop/images/15042025/09/09/image_15042025_09_09_02_2096.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547f490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547f490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:20:03.354894
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_01_3132.jpg', 2), ('/home/pi/Desktop/images/15042025/09/16/image_15042025_09_16_02_1127.jpg', 2), ('/home/pi/Desktop/images/15042025/09/15/image_15042025_09_15_01_9478.jpg', 2), ('/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', 2), ('/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548d630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548d630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:23:03.905174
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/22/image_15042025_09_22_02_2010.jpg', 2), ('/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_01_4688.jpg', 2), ('/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_01_3132.jpg', 2), ('/home/pi/Desktop/images/15042025/09/16/image_15042025_09_16_02_1127.jpg', 2), ('/home/pi/Desktop/images/15042025/09/15/image_15042025_09_15_01_9478.jpg', 2), ('/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fd490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fd490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:26:06.379874
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_01_9367.jpg', 2), ('/home/pi/Desktop/images/15042025/09/24/image_15042025_09_24_02_0665.jpg', 2), ('/home/pi/Desktop/images/15042025/09/23/image_15042025_09_23_01_8614.jpg', 2), ('/home/pi/Desktop/images/15042025/09/22/image_15042025_09_22_02_2010.jpg', 2), ('/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_01_4688.jpg', 2), ('/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_01_3132.jpg', 2)]
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754cb6b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cb6b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:29:04.073010
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_15042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
0
2720882
0
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_01_5402.jpg', 2), ('/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_01_5559.jpg', 2), ('/home/pi/Desktop/images/15042025/09/26/image_15042025_09_26_01_6596.jpg', 2), ('/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_01_9367.jpg', 2), ('/home/pi/Desktop/images/15042025/09/24/image_15042025_09_24_02_0665.jpg', 2), ('/home/pi/Desktop/images/15042025/09/23/image_15042025_09_23_01_8614.jpg', 2)]
{'portfolio_id': 22024889, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744702204000}
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_01_5402.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_01_5559.jpg', '/home/pi/Desktop/images/15042025/09/26/image_15042025_09_26_01_6596.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_01_9367.jpg', '/home/pi/Desktop/images/15042025/09/24/image_15042025_09_24_02_0665.jpg', '/home/pi/Desktop/images/15042025/09/23/image_15042025_09_23_01_8614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_01_5402.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_01_5559.jpg
/home/pi/Desktop/images/15042025/09/26/image_15042025_09_26_01_6596.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_01_9367.jpg
/home/pi/Desktop/images/15042025/09/24/image_15042025_09_24_02_0665.jpg
/home/pi/Desktop/images/15042025/09/23/image_15042025_09_23_01_8614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349822836","1349822847","1349822823","1349822855","1349822860","1349822824"],"photo_ids_order":["1349822823","1349822824","1349822836","1349822847","1349822855","1349822860"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a19b12f0c067144d79a542b3c22f73d4.jpg","text":"TemporaryFile(/tmp/multipartBody3170285649466738664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702209658,"filename":"image_15042025_09_26_01_6596.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04ec956e22bb396c5971e73cc9c99480.jpg","text":"TemporaryFile(/tmp/multipartBody6637382952004269038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702209658,"filename":"image_15042025_09_25_01_9367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43f5fe1a079e7125d04d3903e13e8a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7305939122284527166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702209658,"filename":"image_15042025_09_28_01_5402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2601188018e975be366f5646a465542.jpg","text":"TemporaryFile(/tmp/multipartBody7064466279385701818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702209658,"filename":"image_15042025_09_24_02_0665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49c5fb44bbe8d15e5ca7dcd3b04b0fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5242605907382636679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702209658,"filename":"image_15042025_09_23_01_8614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45fa5814a669198ad330b1b5ac8cb5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2090898041265279945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702209658,"filename":"image_15042025_09_27_01_5559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822836","file1":"1349822824","file0":"1349822823","file4":"1349822855","file5":"1349822860","file3":"1349822847"},"map_files_photo_id_array":[{"photo_id":"1349822860","filename":"file5"},{"photo_id":"1349822836","filename":"file2"},{"photo_id":"1349822855","filename":"file4"},{"photo_id":"1349822824","filename":"file1"},{"photo_id":"1349822823","filename":"file0"},{"photo_id":"1349822847","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349822836":["hashtag1","hashtag2"]},{"1349822847":["hashtag1","hashtag2"]},{"1349822823":["hashtag1","hashtag2"]},{"1349822855":["hashtag1","hashtag2"]},{"1349822860":["hashtag1","hashtag2"]},{"1349822824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349822836, 1349822847, 1349822823, 1349822855, 1349822860, 1349822824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.13398718833923 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:31:03.569103
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_01_6722.jpg', 2), ('/home/pi/Desktop/images/15042025/09/22/image_15042025_09_22_02_2010.jpg', 2), ('/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_01_4688.jpg', 2), ('/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_01_3132.jpg', 2), ('/home/pi/Desktop/images/15042025/09/16/image_15042025_09_16_02_1127.jpg', 2), ('/home/pi/Desktop/images/15042025/09/15/image_15042025_09_15_01_9478.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_01_6722.jpg', '/home/pi/Desktop/images/15042025/09/22/image_15042025_09_22_02_2010.jpg', '/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_01_4688.jpg', '/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_01_3132.jpg', '/home/pi/Desktop/images/15042025/09/16/image_15042025_09_16_02_1127.jpg', '/home/pi/Desktop/images/15042025/09/15/image_15042025_09_15_01_9478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_01_6722.jpg
/home/pi/Desktop/images/15042025/09/22/image_15042025_09_22_02_2010.jpg
/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_01_4688.jpg
/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_01_3132.jpg
/home/pi/Desktop/images/15042025/09/16/image_15042025_09_16_02_1127.jpg
/home/pi/Desktop/images/15042025/09/15/image_15042025_09_15_01_9478.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349822982","1349822967","1349823030","1349823008","1349822992","1349822974"],"photo_ids_order":["1349822967","1349822974","1349822982","1349822992","1349823008","1349823030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6682079a591d1e360ab0cf79828d2b9f.jpg","text":"TemporaryFile(/tmp/multipartBody9122221985490849442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702328236,"filename":"image_15042025_09_20_01_4688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/944418b4f3dd0487f560fb850beab597.jpg","text":"TemporaryFile(/tmp/multipartBody7572944721873778775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702328236,"filename":"image_15042025_09_29_01_6722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26f221e76d4d9a3becfd935c57df7a83.jpg","text":"TemporaryFile(/tmp/multipartBody9012307976772090360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702328236,"filename":"image_15042025_09_15_01_9478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be4e982056dacbd772f901f063c8b6d4.jpg","text":"TemporaryFile(/tmp/multipartBody6416200150521733817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702328236,"filename":"image_15042025_09_16_02_1127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8321b1092bd473d407cb0a2005eace00.jpg","text":"TemporaryFile(/tmp/multipartBody856561145931982626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702328236,"filename":"image_15042025_09_19_01_3132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4ad9025fa5cc1af2631424e414f82c3.jpg","text":"TemporaryFile(/tmp/multipartBody8376827199742547991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702328236,"filename":"image_15042025_09_22_02_2010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822982","file1":"1349822974","file0":"1349822967","file4":"1349823008","file5":"1349823030","file3":"1349822992"},"map_files_photo_id_array":[{"photo_id":"1349823030","filename":"file5"},{"photo_id":"1349822982","filename":"file2"},{"photo_id":"1349823008","filename":"file4"},{"photo_id":"1349822974","filename":"file1"},{"photo_id":"1349822967","filename":"file0"},{"photo_id":"1349822992","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349822982":["hashtag1","hashtag2"]},{"1349822967":["hashtag1","hashtag2"]},{"1349823030":["hashtag1","hashtag2"]},{"1349823008":["hashtag1","hashtag2"]},{"1349822992":["hashtag1","hashtag2"]},{"1349822974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349822982, 1349822967, 1349823030, 1349823008, 1349822992, 1349822974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.39218354225159 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:33:03.766877
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_01_3821.jpg', 2), ('/home/pi/Desktop/images/15042025/09/30/image_15042025_09_30_02_2777.jpg', 2), ('/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', 2), ('/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg', 2), ('/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_01_3821.jpg', '/home/pi/Desktop/images/15042025/09/30/image_15042025_09_30_02_2777.jpg', '/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', '/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', '/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg', '/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_01_3821.jpg
/home/pi/Desktop/images/15042025/09/30/image_15042025_09_30_02_2777.jpg
/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg
/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg
/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg
/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.139408111572266 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:34:03.211830
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_01_7193.jpg', 2), ('/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_01_3821.jpg', 2), ('/home/pi/Desktop/images/15042025/09/30/image_15042025_09_30_02_2777.jpg', 2), ('/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', 2), ('/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_01_7193.jpg', '/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_01_3821.jpg', '/home/pi/Desktop/images/15042025/09/30/image_15042025_09_30_02_2777.jpg', '/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg', '/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg', '/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_01_7193.jpg
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_01_3821.jpg
/home/pi/Desktop/images/15042025/09/30/image_15042025_09_30_02_2777.jpg
/home/pi/Desktop/images/15042025/09/14/image_15042025_09_14_02_2873.jpg
/home/pi/Desktop/images/15042025/09/13/image_15042025_09_13_01_7931.jpg
/home/pi/Desktop/images/15042025/09/12/image_15042025_09_12_02_1577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823273","1349823312","1349823255","1349823240","1349823290","1349823232"],"photo_ids_order":["1349823232","1349823240","1349823255","1349823273","1349823290","1349823312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/580eff37a84659c3d638b8ac8fc6c788.jpg","text":"TemporaryFile(/tmp/multipartBody1494107751915161775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702506710,"filename":"image_15042025_09_14_02_2873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9915024ce9c8460d8d09df9432b6de2a.jpg","text":"TemporaryFile(/tmp/multipartBody7621325843922670033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702506710,"filename":"image_15042025_09_12_02_1577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/291bdd707d5ec200cbca5e3c981d5f47.jpg","text":"TemporaryFile(/tmp/multipartBody68110624685706595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702506710,"filename":"image_15042025_09_30_02_2777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2c3e8ff8d417972f33128b816c89e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2758371774655400407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702506710,"filename":"image_15042025_09_31_01_3821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3d8e0b29d56f66324bacb12524f66cb.jpg","text":"TemporaryFile(/tmp/multipartBody7099045666511732663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702506710,"filename":"image_15042025_09_13_01_7931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/546437eda0c317e5ab4e8357807542cb.jpg","text":"TemporaryFile(/tmp/multipartBody9059121881836412176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702506710,"filename":"image_15042025_09_32_01_7193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823255","file1":"1349823240","file0":"1349823232","file4":"1349823290","file5":"1349823312","file3":"1349823273"},"map_files_photo_id_array":[{"photo_id":"1349823312","filename":"file5"},{"photo_id":"1349823255","filename":"file2"},{"photo_id":"1349823290","filename":"file4"},{"photo_id":"1349823240","filename":"file1"},{"photo_id":"1349823232","filename":"file0"},{"photo_id":"1349823273","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349823273":["hashtag1","hashtag2"]},{"1349823312":["hashtag1","hashtag2"]},{"1349823255":["hashtag1","hashtag2"]},{"1349823240":["hashtag1","hashtag2"]},{"1349823290":["hashtag1","hashtag2"]},{"1349823232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349823273, 1349823312, 1349823255, 1349823240, 1349823290, 1349823232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.067866802215576 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:35:03.683849
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg', 2), ('/home/pi/Desktop/images/15042025/09/09/image_15042025_09_09_02_2096.jpg', 2), ('/home/pi/Desktop/images/15042025/09/08/image_15042025_09_08_01_7953.jpg', 2), ('/home/pi/Desktop/images/15042025/09/07/image_15042025_09_07_01_6786.jpg', 2), ('/home/pi/Desktop/images/15042025/09/06/image_15042025_09_06_02_1026.jpg', 2), ('/home/pi/Desktop/images/15042025/09/05/image_15042025_09_05_01_9982.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg', '/home/pi/Desktop/images/15042025/09/09/image_15042025_09_09_02_2096.jpg', '/home/pi/Desktop/images/15042025/09/08/image_15042025_09_08_01_7953.jpg', '/home/pi/Desktop/images/15042025/09/07/image_15042025_09_07_01_6786.jpg', '/home/pi/Desktop/images/15042025/09/06/image_15042025_09_06_02_1026.jpg', '/home/pi/Desktop/images/15042025/09/05/image_15042025_09_05_01_9982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/11/image_15042025_09_11_01_9181.jpg
/home/pi/Desktop/images/15042025/09/09/image_15042025_09_09_02_2096.jpg
/home/pi/Desktop/images/15042025/09/08/image_15042025_09_08_01_7953.jpg
/home/pi/Desktop/images/15042025/09/07/image_15042025_09_07_01_6786.jpg
/home/pi/Desktop/images/15042025/09/06/image_15042025_09_06_02_1026.jpg
/home/pi/Desktop/images/15042025/09/05/image_15042025_09_05_01_9982.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823348","1349823507","1349823429","1349823533","1349823359","1349823493"],"photo_ids_order":["1349823348","1349823359","1349823429","1349823493","1349823507","1349823533"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99fbad9d41a1739b7e37b53aad352002.jpg","text":"TemporaryFile(/tmp/multipartBody4142824115022095691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702568042,"filename":"image_15042025_09_11_01_9181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0f75296385e757f54d188eb6a113ebf.jpg","text":"TemporaryFile(/tmp/multipartBody759611181013680006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702568042,"filename":"image_15042025_09_06_02_1026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ebbc2f16a2beae38a277842ec19c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody8455646348183738749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702568042,"filename":"image_15042025_09_08_01_7953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/053cd2409d536ae02f9a1f2e759bf31d.jpg","text":"TemporaryFile(/tmp/multipartBody5619687281328322546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702568042,"filename":"image_15042025_09_05_01_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe0ad08615fbe26352904a998e278217.jpg","text":"TemporaryFile(/tmp/multipartBody2502689863811661092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702568042,"filename":"image_15042025_09_09_02_2096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b56eadff2bddeeb18b91d37e1e1d1310.jpg","text":"TemporaryFile(/tmp/multipartBody464106698053970317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702568042,"filename":"image_15042025_09_07_01_6786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823429","file1":"1349823359","file0":"1349823348","file4":"1349823507","file5":"1349823533","file3":"1349823493"},"map_files_photo_id_array":[{"photo_id":"1349823533","filename":"file5"},{"photo_id":"1349823429","filename":"file2"},{"photo_id":"1349823507","filename":"file4"},{"photo_id":"1349823359","filename":"file1"},{"photo_id":"1349823348","filename":"file0"},{"photo_id":"1349823493","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349823348":["hashtag1","hashtag2"]},{"1349823507":["hashtag1","hashtag2"]},{"1349823429":["hashtag1","hashtag2"]},{"1349823533":["hashtag1","hashtag2"]},{"1349823359":["hashtag1","hashtag2"]},{"1349823493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349823348, 1349823507, 1349823429, 1349823533, 1349823359, 1349823493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.46998906135559 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:37:03.991906
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_01_9732.jpg', 2), ('/home/pi/Desktop/images/15042025/09/34/image_15042025_09_34_02_1563.jpg', 2), ('/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_01_6104.jpg', 2), ('/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg', 2), ('/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_01_9608.jpg', 2), ('/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_01_8154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_01_9732.jpg', '/home/pi/Desktop/images/15042025/09/34/image_15042025_09_34_02_1563.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_01_6104.jpg', '/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg', '/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_01_9608.jpg', '/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_01_8154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_01_9732.jpg
/home/pi/Desktop/images/15042025/09/34/image_15042025_09_34_02_1563.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_01_6104.jpg
/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_01_4434.jpg
/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_01_9608.jpg
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_01_8154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823927","1349823906","1349823806","1349823871","1349823889","1349823841"],"photo_ids_order":["1349823806","1349823841","1349823871","1349823889","1349823906","1349823927"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3f69e641473f003775523763c7d5518.jpg","text":"TemporaryFile(/tmp/multipartBody461717488470239153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702688065,"filename":"image_15042025_09_01_01_8154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09241118a96f42b47f660d80c7a99bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2697146471252401036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702688065,"filename":"image_15042025_09_02_01_9608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/750f92f3ec4ea979d868c1796e213de8.jpg","text":"TemporaryFile(/tmp/multipartBody786627977441601942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702688065,"filename":"image_15042025_09_36_01_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53587fc2c08e07dada16e483101a15ca.jpg","text":"TemporaryFile(/tmp/multipartBody794144618235743881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702688065,"filename":"image_15042025_09_04_01_6104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f61ed5f7e679f71bae255d85ba315a4.jpg","text":"TemporaryFile(/tmp/multipartBody2603719058959320907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702688065,"filename":"image_15042025_09_03_01_4434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec6b799d89b448836472426729bb39c9.jpg","text":"TemporaryFile(/tmp/multipartBody1653664444717343145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702688065,"filename":"image_15042025_09_34_02_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823871","file1":"1349823841","file0":"1349823806","file4":"1349823906","file5":"1349823927","file3":"1349823889"},"map_files_photo_id_array":[{"photo_id":"1349823927","filename":"file5"},{"photo_id":"1349823871","filename":"file2"},{"photo_id":"1349823906","filename":"file4"},{"photo_id":"1349823841","filename":"file1"},{"photo_id":"1349823806","filename":"file0"},{"photo_id":"1349823889","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349823927":["hashtag1","hashtag2"]},{"1349823906":["hashtag1","hashtag2"]},{"1349823806":["hashtag1","hashtag2"]},{"1349823871":["hashtag1","hashtag2"]},{"1349823889":["hashtag1","hashtag2"]},{"1349823841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349823927, 1349823906, 1349823806, 1349823871, 1349823889, 1349823841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04827690124512 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:39:03.804739
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/38/image_15042025_09_38_02_2254.jpg', 2), ('/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_02_0169.jpg', 2), ('/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_01_9127.jpg', 2), ('/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_01_7702.jpg', 2), ('/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_02_0174.jpg', 2), ('/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_01_8229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/38/image_15042025_09_38_02_2254.jpg', '/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_02_0169.jpg', '/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_01_9127.jpg', '/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_01_7702.jpg', '/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_02_0174.jpg', '/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_01_8229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/38/image_15042025_09_38_02_2254.jpg
/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_02_0169.jpg
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_01_9127.jpg
/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_01_7702.jpg
/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_02_0174.jpg
/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_01_8229.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824146","1349824091","1349824166","1349824063","1349824120","1349824222"],"photo_ids_order":["1349824063","1349824091","1349824120","1349824146","1349824166","1349824222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df82bba033dcba66b1f84974258b152e.jpg","text":"TemporaryFile(/tmp/multipartBody3914582160081508036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702808073,"filename":"image_15042025_08_59_01_7702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31fbaa09e97c59dd5e6d7c8e281e8bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3425512526031906538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702808073,"filename":"image_15042025_09_37_02_0169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93f62df1d840072919c7b21942290a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1751005033373760107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702808073,"filename":"image_15042025_08_58_02_0174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2e06cae0dae865ec051d421c17074b5.jpg","text":"TemporaryFile(/tmp/multipartBody6047868686118466304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702808073,"filename":"image_15042025_09_38_02_2254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e00102d644a6ddf7e831b131f9f92c4.jpg","text":"TemporaryFile(/tmp/multipartBody5422136895698389916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702808073,"filename":"image_15042025_09_00_01_9127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d52ade3dbfd586e04ce642eb0b1936ec.jpg","text":"TemporaryFile(/tmp/multipartBody7185950859675873811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702808073,"filename":"image_15042025_08_57_01_8229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824120","file1":"1349824091","file0":"1349824063","file4":"1349824166","file5":"1349824222","file3":"1349824146"},"map_files_photo_id_array":[{"photo_id":"1349824222","filename":"file5"},{"photo_id":"1349824120","filename":"file2"},{"photo_id":"1349824166","filename":"file4"},{"photo_id":"1349824091","filename":"file1"},{"photo_id":"1349824063","filename":"file0"},{"photo_id":"1349824146","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349824146":["hashtag1","hashtag2"]},{"1349824091":["hashtag1","hashtag2"]},{"1349824166":["hashtag1","hashtag2"]},{"1349824063":["hashtag1","hashtag2"]},{"1349824120":["hashtag1","hashtag2"]},{"1349824222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349824146, 1349824091, 1349824166, 1349824063, 1349824120, 1349824222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.43904519081116 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:41:03.649444
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_02_0310.jpg', 2), ('/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_01_7604.jpg', 2), ('/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_01_3655.jpg', 2), ('/home/pi/Desktop/images/15042025/08/55/image_15042025_08_55_02_1343.jpg', 2), ('/home/pi/Desktop/images/15042025/08/54/image_15042025_08_54_01_3277.jpg', 2), ('/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_01_2569.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_02_0310.jpg', '/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_01_7604.jpg', '/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_01_3655.jpg', '/home/pi/Desktop/images/15042025/08/55/image_15042025_08_55_02_1343.jpg', '/home/pi/Desktop/images/15042025/08/54/image_15042025_08_54_01_3277.jpg', '/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_01_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_02_0310.jpg
/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_01_7604.jpg
/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_01_3655.jpg
/home/pi/Desktop/images/15042025/08/55/image_15042025_08_55_02_1343.jpg
/home/pi/Desktop/images/15042025/08/54/image_15042025_08_54_01_3277.jpg
/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_01_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824433","1349824453","1349824369","1349824477","1349824497","1349824395"],"photo_ids_order":["1349824369","1349824395","1349824433","1349824453","1349824477","1349824497"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daffcd1b8ce9908d2131c76b8fc9dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody4461905926809336995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702928064,"filename":"image_15042025_08_56_01_3655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ea57b86a0ec6401bd21f84ba48244f1.jpg","text":"TemporaryFile(/tmp/multipartBody4070317363705942777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702928064,"filename":"image_15042025_08_55_02_1343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad97e8e79499b82b4fc6bc93b2cb28f7.jpg","text":"TemporaryFile(/tmp/multipartBody7381112197109079931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702928064,"filename":"image_15042025_09_40_02_0310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cb44e3d7943a3c65e5cde1686560dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2548687220717137169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702928064,"filename":"image_15042025_08_54_01_3277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98970e434a5a9c8d0bfa812fa8cfb62d.jpg","text":"TemporaryFile(/tmp/multipartBody1569945478229192855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702928064,"filename":"image_15042025_08_53_01_2569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57032dc1e0314a32b6f375364f23d704.jpg","text":"TemporaryFile(/tmp/multipartBody4019795500015434686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702928064,"filename":"image_15042025_09_39_01_7604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824433","file1":"1349824395","file0":"1349824369","file4":"1349824477","file5":"1349824497","file3":"1349824453"},"map_files_photo_id_array":[{"photo_id":"1349824497","filename":"file5"},{"photo_id":"1349824433","filename":"file2"},{"photo_id":"1349824477","filename":"file4"},{"photo_id":"1349824395","filename":"file1"},{"photo_id":"1349824369","filename":"file0"},{"photo_id":"1349824453","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349824433":["hashtag1","hashtag2"]},{"1349824453":["hashtag1","hashtag2"]},{"1349824369":["hashtag1","hashtag2"]},{"1349824477":["hashtag1","hashtag2"]},{"1349824497":["hashtag1","hashtag2"]},{"1349824395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349824433, 1349824453, 1349824369, 1349824477, 1349824497, 1349824395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.33755707740784 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:43:03.344813
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_01_7561.jpg', 2), ('/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_01_6688.jpg', 2), ('/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_01_3367.jpg', 2), ('/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_01_9079.jpg', 2), ('/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_01_8365.jpg', 2), ('/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_01_3333.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_01_7561.jpg', '/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_01_6688.jpg', '/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_01_3367.jpg', '/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_01_9079.jpg', '/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_01_8365.jpg', '/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_01_3333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_01_7561.jpg
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_01_6688.jpg
/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_01_3367.jpg
/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_01_9079.jpg
/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_01_8365.jpg
/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_01_3333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824753","1349824735","1349824723","1349824785","1349824770","1349824725"],"photo_ids_order":["1349824723","1349824725","1349824735","1349824753","1349824770","1349824785"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83a1ee0f2ad1dd149b5dca83ff120da5.jpg","text":"TemporaryFile(/tmp/multipartBody1439466446409841791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703047847,"filename":"image_15042025_08_50_01_9079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5161178458f538c83b9575dde3349794.jpg","text":"TemporaryFile(/tmp/multipartBody5626859856642434754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703047847,"filename":"image_15042025_08_51_01_3367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19fe3b9380432d6be6a48f527c0fa16b.jpg","text":"TemporaryFile(/tmp/multipartBody3535975450008428006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703047847,"filename":"image_15042025_09_41_01_7561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/960e4a762387393622da13fbc36e91ec.jpg","text":"TemporaryFile(/tmp/multipartBody633514618159976834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703047847,"filename":"image_15042025_08_48_01_3333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8481958ee8fd2eb303bc5904a48f313e.jpg","text":"TemporaryFile(/tmp/multipartBody7495740101423616529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703047847,"filename":"image_15042025_08_49_01_8365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1fdae15e6e2e6c8f09314558fd0c411.jpg","text":"TemporaryFile(/tmp/multipartBody5216639505367825762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703047847,"filename":"image_15042025_08_52_01_6688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824735","file1":"1349824725","file0":"1349824723","file4":"1349824770","file5":"1349824785","file3":"1349824753"},"map_files_photo_id_array":[{"photo_id":"1349824785","filename":"file5"},{"photo_id":"1349824735","filename":"file2"},{"photo_id":"1349824770","filename":"file4"},{"photo_id":"1349824725","filename":"file1"},{"photo_id":"1349824723","filename":"file0"},{"photo_id":"1349824753","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349824753":["hashtag1","hashtag2"]},{"1349824735":["hashtag1","hashtag2"]},{"1349824723":["hashtag1","hashtag2"]},{"1349824785":["hashtag1","hashtag2"]},{"1349824770":["hashtag1","hashtag2"]},{"1349824725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349824753, 1349824735, 1349824723, 1349824785, 1349824770, 1349824725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.9685218334198 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:45:03.685600
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_01_4079.jpg', 2), ('/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_01_2877.jpg', 2), ('/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_02_0161.jpg', 2), ('/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_01_2315.jpg', 2), ('/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_01_9528.jpg', 2), ('/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_01_7152.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_01_4079.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_01_2877.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_02_0161.jpg', '/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_01_2315.jpg', '/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_01_9528.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_01_7152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_01_4079.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_01_2877.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_02_0161.jpg
/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_01_2315.jpg
/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_01_9528.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_01_7152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824994","1349824942","1349824972","1349824924","1349824912","1349824900"],"photo_ids_order":["1349824900","1349824912","1349824924","1349824942","1349824972","1349824994"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6742b23d11f973e1378c5a4702ec520e.jpg","text":"TemporaryFile(/tmp/multipartBody6393520527751484853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703167760,"filename":"image_15042025_08_45_01_7152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa8273724d11390931612086e270cfb7.jpg","text":"TemporaryFile(/tmp/multipartBody6241500978196602335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703167760,"filename":"image_15042025_08_47_01_2315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30c5b35a95d8c487a034b1fdc3e26796.jpg","text":"TemporaryFile(/tmp/multipartBody1463248468700677493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703167760,"filename":"image_15042025_08_46_01_9528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02848f9b5baa17f9f10e17d18305dc05.jpg","text":"TemporaryFile(/tmp/multipartBody435544440611421243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703167760,"filename":"image_15042025_09_42_02_0161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd74e55204d9aaf5c491194b5d9d395e.jpg","text":"TemporaryFile(/tmp/multipartBody1422070958736201732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703167760,"filename":"image_15042025_09_43_01_2877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e68d0616cf3bd00cc0a4950c2e22af8a.jpg","text":"TemporaryFile(/tmp/multipartBody4491711038704695637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703167760,"filename":"image_15042025_09_44_01_4079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824924","file1":"1349824912","file0":"1349824900","file4":"1349824972","file5":"1349824994","file3":"1349824942"},"map_files_photo_id_array":[{"photo_id":"1349824994","filename":"file5"},{"photo_id":"1349824924","filename":"file2"},{"photo_id":"1349824972","filename":"file4"},{"photo_id":"1349824912","filename":"file1"},{"photo_id":"1349824900","filename":"file0"},{"photo_id":"1349824942","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349824994":["hashtag1","hashtag2"]},{"1349824942":["hashtag1","hashtag2"]},{"1349824972":["hashtag1","hashtag2"]},{"1349824924":["hashtag1","hashtag2"]},{"1349824912":["hashtag1","hashtag2"]},{"1349824900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349824994, 1349824942, 1349824972, 1349824924, 1349824912, 1349824900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.63639712333679 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:47:03.491851
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_01_7993.jpg', 2), ('/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_01_2535.jpg', 2), ('/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_02_1830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_02_1185.jpg', 2), ('/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_01_7422.jpg', 2), ('/home/pi/Desktop/images/15042025/08/38/image_15042025_08_38_01_8278.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_01_7993.jpg', '/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_01_2535.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_02_1830.jpg', '/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_02_1185.jpg', '/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_01_7422.jpg', '/home/pi/Desktop/images/15042025/08/38/image_15042025_08_38_01_8278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_01_7993.jpg
/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_01_2535.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_02_1830.jpg
/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_02_1185.jpg
/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_01_7422.jpg
/home/pi/Desktop/images/15042025/08/38/image_15042025_08_38_01_8278.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825165","1349825231","1349825199","1349825190","1349825181","1349825217"],"photo_ids_order":["1349825165","1349825181","1349825190","1349825199","1349825217","1349825231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9756b0b83aa7647f9269b1de94af190.jpg","text":"TemporaryFile(/tmp/multipartBody6473851457118492069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703287816,"filename":"image_15042025_09_45_01_7993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3d9e99ece28b26cac5994a0fb15ad32.jpg","text":"TemporaryFile(/tmp/multipartBody5038072628125230779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703287816,"filename":"image_15042025_08_38_01_8278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/deaa43d7318a871f38db731b92232eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4947860259952136336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703287816,"filename":"image_15042025_08_41_02_1185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f20270b536dfe00ea1c643e8dc8b5df.jpg","text":"TemporaryFile(/tmp/multipartBody6701013180615238393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703287816,"filename":"image_15042025_08_43_02_1830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca033562c7d0ba5e9b8509012fa7b7be.jpg","text":"TemporaryFile(/tmp/multipartBody7244737243388035111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703287816,"filename":"image_15042025_08_44_01_2535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcf8cdda6253aae32419ef90eb5019ee.jpg","text":"TemporaryFile(/tmp/multipartBody4877388021558119033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703287816,"filename":"image_15042025_08_40_01_7422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825190","file1":"1349825181","file0":"1349825165","file4":"1349825217","file5":"1349825231","file3":"1349825199"},"map_files_photo_id_array":[{"photo_id":"1349825231","filename":"file5"},{"photo_id":"1349825190","filename":"file2"},{"photo_id":"1349825217","filename":"file4"},{"photo_id":"1349825181","filename":"file1"},{"photo_id":"1349825165","filename":"file0"},{"photo_id":"1349825199","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349825165":["hashtag1","hashtag2"]},{"1349825231":["hashtag1","hashtag2"]},{"1349825199":["hashtag1","hashtag2"]},{"1349825190":["hashtag1","hashtag2"]},{"1349825181":["hashtag1","hashtag2"]},{"1349825217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349825165, 1349825231, 1349825199, 1349825190, 1349825181, 1349825217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.19081544876099 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:49:03.771272
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_01_5413.jpg', 2), ('/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_01_4885.jpg', 2), ('/home/pi/Desktop/images/15042025/09/46/image_15042025_09_46_02_0312.jpg', 2), ('/home/pi/Desktop/images/15042025/08/37/image_15042025_08_37_01_8173.jpg', 2), ('/home/pi/Desktop/images/15042025/08/36/image_15042025_08_36_01_9590.jpg', 2), ('/home/pi/Desktop/images/15042025/08/35/image_15042025_08_35_01_9457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_01_5413.jpg', '/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_01_4885.jpg', '/home/pi/Desktop/images/15042025/09/46/image_15042025_09_46_02_0312.jpg', '/home/pi/Desktop/images/15042025/08/37/image_15042025_08_37_01_8173.jpg', '/home/pi/Desktop/images/15042025/08/36/image_15042025_08_36_01_9590.jpg', '/home/pi/Desktop/images/15042025/08/35/image_15042025_08_35_01_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_01_5413.jpg
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_01_4885.jpg
/home/pi/Desktop/images/15042025/09/46/image_15042025_09_46_02_0312.jpg
/home/pi/Desktop/images/15042025/08/37/image_15042025_08_37_01_8173.jpg
/home/pi/Desktop/images/15042025/08/36/image_15042025_08_36_01_9590.jpg
/home/pi/Desktop/images/15042025/08/35/image_15042025_08_35_01_9457.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825657","1349825974","1349825755","1349825818","1349825898","1349825789"],"photo_ids_order":["1349825657","1349825755","1349825789","1349825818","1349825898","1349825974"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b95452870d45d351468bb85d1d233f88.jpg","text":"TemporaryFile(/tmp/multipartBody3879537855688418137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703407855,"filename":"image_15042025_09_48_01_5413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58a9cf7bd8227cf034e5a01aadfdbbff.jpg","text":"TemporaryFile(/tmp/multipartBody5163257885951741692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703407855,"filename":"image_15042025_08_35_01_9457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a653bd828edd790daf00a5f9dad9fd63.jpg","text":"TemporaryFile(/tmp/multipartBody9211360487541799839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703407855,"filename":"image_15042025_09_47_01_4885.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c21820e3590dd4c28a312ca147437820.jpg","text":"TemporaryFile(/tmp/multipartBody4073186134052973985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703407855,"filename":"image_15042025_08_37_01_8173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c9064c27f7d078f3e34eb99a71f1386.jpg","text":"TemporaryFile(/tmp/multipartBody6437651809119482862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703407855,"filename":"image_15042025_08_36_01_9590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/021295950db2c447319591cbea10c400.jpg","text":"TemporaryFile(/tmp/multipartBody2205589879372980332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703407855,"filename":"image_15042025_09_46_02_0312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825789","file1":"1349825755","file0":"1349825657","file4":"1349825898","file5":"1349825974","file3":"1349825818"},"map_files_photo_id_array":[{"photo_id":"1349825974","filename":"file5"},{"photo_id":"1349825789","filename":"file2"},{"photo_id":"1349825898","filename":"file4"},{"photo_id":"1349825755","filename":"file1"},{"photo_id":"1349825657","filename":"file0"},{"photo_id":"1349825818","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349825657":["hashtag1","hashtag2"]},{"1349825974":["hashtag1","hashtag2"]},{"1349825755":["hashtag1","hashtag2"]},{"1349825818":["hashtag1","hashtag2"]},{"1349825898":["hashtag1","hashtag2"]},{"1349825789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349825657, 1349825974, 1349825755, 1349825818, 1349825898, 1349825789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.02077841758728 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:51:03.408600
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/50/image_15042025_09_50_02_0167.jpg', 2), ('/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_01_6508.jpg', 2), ('/home/pi/Desktop/images/15042025/08/34/image_15042025_08_34_01_2691.jpg', 2), ('/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_01_5119.jpg', 2), ('/home/pi/Desktop/images/15042025/08/30/image_15042025_08_30_01_8220.jpg', 2), ('/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_01_6260.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/50/image_15042025_09_50_02_0167.jpg', '/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_01_6508.jpg', '/home/pi/Desktop/images/15042025/08/34/image_15042025_08_34_01_2691.jpg', '/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_01_5119.jpg', '/home/pi/Desktop/images/15042025/08/30/image_15042025_08_30_01_8220.jpg', '/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_01_6260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/50/image_15042025_09_50_02_0167.jpg
/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_01_6508.jpg
/home/pi/Desktop/images/15042025/08/34/image_15042025_08_34_01_2691.jpg
/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_01_5119.jpg
/home/pi/Desktop/images/15042025/08/30/image_15042025_08_30_01_8220.jpg
/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_01_6260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349826740","1349826701","1349826617","1349826550","1349826712","1349826725"],"photo_ids_order":["1349826550","1349826617","1349826701","1349826712","1349826725","1349826740"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d725ebe6efe6cc3a5c1b8d0e8b366ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8109410430416506524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703527546,"filename":"image_15042025_08_29_01_6260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54bf5e823b2e4114fe0aaf28261a366c.jpg","text":"TemporaryFile(/tmp/multipartBody1420653776459185003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703527546,"filename":"image_15042025_08_34_01_2691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20acfa48536a6fc287a07d412dee5ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3625269766652421772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703527546,"filename":"image_15042025_09_49_01_6508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2740e5102ecb9d8706479c97c7e3457d.jpg","text":"TemporaryFile(/tmp/multipartBody4613773633628803898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703527546,"filename":"image_15042025_09_50_02_0167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5427715529f09cc6489f9dd2fd6e1641.jpg","text":"TemporaryFile(/tmp/multipartBody218159079659342158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703527546,"filename":"image_15042025_08_32_01_5119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4aaedd60e4ba3cea9a55707459a9c25.jpg","text":"TemporaryFile(/tmp/multipartBody2525835446465528853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703527546,"filename":"image_15042025_08_30_01_8220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826701","file1":"1349826617","file0":"1349826550","file4":"1349826725","file5":"1349826740","file3":"1349826712"},"map_files_photo_id_array":[{"photo_id":"1349826740","filename":"file5"},{"photo_id":"1349826701","filename":"file2"},{"photo_id":"1349826725","filename":"file4"},{"photo_id":"1349826617","filename":"file1"},{"photo_id":"1349826550","filename":"file0"},{"photo_id":"1349826712","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349826740":["hashtag1","hashtag2"]},{"1349826701":["hashtag1","hashtag2"]},{"1349826617":["hashtag1","hashtag2"]},{"1349826550":["hashtag1","hashtag2"]},{"1349826712":["hashtag1","hashtag2"]},{"1349826725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349826740, 1349826701, 1349826617, 1349826550, 1349826712, 1349826725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.476516008377075 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:53:03.215893
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/53/image_15042025_09_53_02_1978.jpg', 2), ('/home/pi/Desktop/images/15042025/09/51/image_15042025_09_51_01_4913.jpg', 2), ('/home/pi/Desktop/images/15042025/08/28/image_15042025_08_28_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_01_9424.jpg', 2), ('/home/pi/Desktop/images/15042025/08/26/image_15042025_08_26_01_6829.jpg', 2), ('/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_01_3580.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/53/image_15042025_09_53_02_1978.jpg', '/home/pi/Desktop/images/15042025/09/51/image_15042025_09_51_01_4913.jpg', '/home/pi/Desktop/images/15042025/08/28/image_15042025_08_28_01_3625.jpg', '/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_01_9424.jpg', '/home/pi/Desktop/images/15042025/08/26/image_15042025_08_26_01_6829.jpg', '/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_01_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/53/image_15042025_09_53_02_1978.jpg
/home/pi/Desktop/images/15042025/09/51/image_15042025_09_51_01_4913.jpg
/home/pi/Desktop/images/15042025/08/28/image_15042025_08_28_01_3625.jpg
/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_01_9424.jpg
/home/pi/Desktop/images/15042025/08/26/image_15042025_08_26_01_6829.jpg
/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_01_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349827069","1349827207","1349827299","1349827131","1349826984","1349826924"],"photo_ids_order":["1349826924","1349826984","1349827069","1349827131","1349827207","1349827299"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/345dde8e76144fe81adc7dc02d3ee1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6323928980396025337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703647378,"filename":"image_15042025_08_28_01_3625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02d23ca2c3d0207befad0458a32f67af.jpg","text":"TemporaryFile(/tmp/multipartBody1358998122297259901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703647378,"filename":"image_15042025_08_26_01_6829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b976a23f7636eef4bd6ef1ba15755f7.jpg","text":"TemporaryFile(/tmp/multipartBody7804181014104084134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703647378,"filename":"image_15042025_08_25_01_3580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b6b01f35f4376a44514e99a179ac962.jpg","text":"TemporaryFile(/tmp/multipartBody4540679672731680864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703647378,"filename":"image_15042025_08_27_01_9424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09f0bbb626e076b86f1bf222374e20b5.jpg","text":"TemporaryFile(/tmp/multipartBody5301770636527408881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703647378,"filename":"image_15042025_09_51_01_4913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78a9195def871bcc47ddd2c49cf64edb.jpg","text":"TemporaryFile(/tmp/multipartBody2907576104863167632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703647378,"filename":"image_15042025_09_53_02_1978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827069","file1":"1349826984","file0":"1349826924","file4":"1349827207","file5":"1349827299","file3":"1349827131"},"map_files_photo_id_array":[{"photo_id":"1349827299","filename":"file5"},{"photo_id":"1349827069","filename":"file2"},{"photo_id":"1349827207","filename":"file4"},{"photo_id":"1349826984","filename":"file1"},{"photo_id":"1349826924","filename":"file0"},{"photo_id":"1349827131","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349827069":["hashtag1","hashtag2"]},{"1349827207":["hashtag1","hashtag2"]},{"1349827299":["hashtag1","hashtag2"]},{"1349827131":["hashtag1","hashtag2"]},{"1349826984":["hashtag1","hashtag2"]},{"1349826924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349827069, 1349827207, 1349827299, 1349827131, 1349826984, 1349826924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.52496075630188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:55:03.074452
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/54/image_15042025_09_54_01_3386.jpg', 2), ('/home/pi/Desktop/images/15042025/09/52/image_15042025_09_52_01_6782.jpg', 2), ('/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_01_6150.jpg', 2), ('/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_01_6264.jpg', 2), ('/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_01_4058.jpg', 2), ('/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_9413.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/54/image_15042025_09_54_01_3386.jpg', '/home/pi/Desktop/images/15042025/09/52/image_15042025_09_52_01_6782.jpg', '/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_01_6150.jpg', '/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_01_6264.jpg', '/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_01_4058.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/54/image_15042025_09_54_01_3386.jpg
/home/pi/Desktop/images/15042025/09/52/image_15042025_09_52_01_6782.jpg
/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_01_6150.jpg
/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_01_6264.jpg
/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_01_4058.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_9413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349827984","1349827849","1349827915","1349827785","1349827658","1349827718"],"photo_ids_order":["1349827658","1349827718","1349827785","1349827849","1349827915","1349827984"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3fed538fbb5fe6cb6bdb34ebe300055.jpg","text":"TemporaryFile(/tmp/multipartBody2763674160924271504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703767573,"filename":"image_15042025_08_19_01_9413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b06fd1ec33e62ef49d8cfc694f20b25.jpg","text":"TemporaryFile(/tmp/multipartBody4247457597202886194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703767573,"filename":"image_15042025_08_23_01_6264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6205c0ae81d3b96827e83df10195e821.jpg","text":"TemporaryFile(/tmp/multipartBody2331615951090264727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703767573,"filename":"image_15042025_08_20_01_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe3149aca618e592679dd497f628e0b1.jpg","text":"TemporaryFile(/tmp/multipartBody3134374559868872780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703767573,"filename":"image_15042025_08_24_01_6150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/657cc575480575eb2deb8b908fbe9a02.jpg","text":"TemporaryFile(/tmp/multipartBody1826933676561327075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703767573,"filename":"image_15042025_09_54_01_3386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/937cd5e5129e94dbfd325722e23492d4.jpg","text":"TemporaryFile(/tmp/multipartBody118256578599635340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703767573,"filename":"image_15042025_09_52_01_6782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827785","file1":"1349827718","file0":"1349827658","file4":"1349827915","file5":"1349827984","file3":"1349827849"},"map_files_photo_id_array":[{"photo_id":"1349827984","filename":"file5"},{"photo_id":"1349827785","filename":"file2"},{"photo_id":"1349827915","filename":"file4"},{"photo_id":"1349827718","filename":"file1"},{"photo_id":"1349827658","filename":"file0"},{"photo_id":"1349827849","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349827984":["hashtag1","hashtag2"]},{"1349827849":["hashtag1","hashtag2"]},{"1349827915":["hashtag1","hashtag2"]},{"1349827785":["hashtag1","hashtag2"]},{"1349827658":["hashtag1","hashtag2"]},{"1349827718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349827984, 1349827849, 1349827915, 1349827785, 1349827658, 1349827718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.484511613845825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:57:03.175388
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/56/image_15042025_09_56_01_3100.jpg', 2), ('/home/pi/Desktop/images/15042025/09/55/image_15042025_09_55_02_0377.jpg', 2), ('/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', 2), ('/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg', 2), ('/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', 2), ('/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/56/image_15042025_09_56_01_3100.jpg', '/home/pi/Desktop/images/15042025/09/55/image_15042025_09_55_02_0377.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', '/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/56/image_15042025_09_56_01_3100.jpg
/home/pi/Desktop/images/15042025/09/55/image_15042025_09_55_02_0377.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg
/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 09:59:03.403525
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/09/58/image_15042025_09_58_01_3962.jpg', 2), ('/home/pi/Desktop/images/15042025/09/57/image_15042025_09_57_02_1874.jpg', 2), ('/home/pi/Desktop/images/15042025/09/56/image_15042025_09_56_01_3100.jpg', 2), ('/home/pi/Desktop/images/15042025/09/55/image_15042025_09_55_02_0377.jpg', 2), ('/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', 2), ('/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/58/image_15042025_09_58_01_3962.jpg', '/home/pi/Desktop/images/15042025/09/57/image_15042025_09_57_02_1874.jpg', '/home/pi/Desktop/images/15042025/09/56/image_15042025_09_56_01_3100.jpg', '/home/pi/Desktop/images/15042025/09/55/image_15042025_09_55_02_0377.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/09/58/image_15042025_09_58_01_3962.jpg
/home/pi/Desktop/images/15042025/09/57/image_15042025_09_57_02_1874.jpg
/home/pi/Desktop/images/15042025/09/56/image_15042025_09_56_01_3100.jpg
/home/pi/Desktop/images/15042025/09/55/image_15042025_09_55_02_0377.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_02_2482.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_01_9527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349829956","1349829851","1349830093","1349830010","1349829757","1349830183"],"photo_ids_order":["1349829757","1349829851","1349829956","1349830010","1349830093","1349830183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f6601e29f281376e505f4edc1baa8a6.jpg","text":"TemporaryFile(/tmp/multipartBody1924179338713478179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704006456,"filename":"image_15042025_09_56_01_3100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b2a70b1b2addac466b9686bdc3451b8.jpg","text":"TemporaryFile(/tmp/multipartBody6984590095764358944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704006456,"filename":"image_15042025_09_57_02_1874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf245c4d73c3d141661e281e008b9c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6609257348045131730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704006456,"filename":"image_15042025_08_18_02_2482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/682842e690e31e879d4eb13a52a136d9.jpg","text":"TemporaryFile(/tmp/multipartBody3895925863733402537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704006456,"filename":"image_15042025_09_55_02_0377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2dd494193d342cd5fa8cade47255a14.jpg","text":"TemporaryFile(/tmp/multipartBody7912066813614873787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704006456,"filename":"image_15042025_09_58_01_3962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c9bdc9a34537998cf3ed0308580143b.jpg","text":"TemporaryFile(/tmp/multipartBody7717418714957286941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704006456,"filename":"image_15042025_08_17_01_9527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349829956","file1":"1349829851","file0":"1349829757","file4":"1349830093","file5":"1349830183","file3":"1349830010"},"map_files_photo_id_array":[{"photo_id":"1349830183","filename":"file5"},{"photo_id":"1349829956","filename":"file2"},{"photo_id":"1349830093","filename":"file4"},{"photo_id":"1349829851","filename":"file1"},{"photo_id":"1349829757","filename":"file0"},{"photo_id":"1349830010","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349829956":["hashtag1","hashtag2"]},{"1349829851":["hashtag1","hashtag2"]},{"1349830093":["hashtag1","hashtag2"]},{"1349830010":["hashtag1","hashtag2"]},{"1349829757":["hashtag1","hashtag2"]},{"1349830183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349829956, 1349829851, 1349830093, 1349830010, 1349829757, 1349830183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.8606448173523 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:01:03.399522
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/00/image_15042025_10_00_01_7915.jpg', 2), ('/home/pi/Desktop/images/15042025/09/59/image_15042025_09_59_01_4470.jpg', 2), ('/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', 2), ('/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg', 2), ('/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_01_5724.jpg', 2), ('/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_8043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/00/image_15042025_10_00_01_7915.jpg', '/home/pi/Desktop/images/15042025/09/59/image_15042025_09_59_01_4470.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg', '/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg', '/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_01_5724.jpg', '/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_8043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/00/image_15042025_10_00_01_7915.jpg
/home/pi/Desktop/images/15042025/09/59/image_15042025_09_59_01_4470.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_01_4480.jpg
/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_01_7080.jpg
/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_01_5724.jpg
/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_8043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349830822","1349830677","1349830766","1349830885","1349830633","1349830840"],"photo_ids_order":["1349830633","1349830677","1349830766","1349830822","1349830840","1349830885"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bd338dddda3a34e0a82c943d65db813.jpg","text":"TemporaryFile(/tmp/multipartBody9023874243563124726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704126889,"filename":"image_15042025_08_14_01_7080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59542ec7e393de73801795431c5f6bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3010735957277310896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704126889,"filename":"image_15042025_09_59_01_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c02a85eb41d0741e6d7ab173f3302678.jpg","text":"TemporaryFile(/tmp/multipartBody4878880243280655626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704126889,"filename":"image_15042025_08_16_01_4480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ea742c78f9b16e39edfdb3befd70d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6889969220472087389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704126889,"filename":"image_15042025_08_12_01_8043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70ee0949bf2ef70e512c34e0409fa424.jpg","text":"TemporaryFile(/tmp/multipartBody7378294310513528786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704126889,"filename":"image_15042025_10_00_01_7915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24925d4f2c49d6ad780dd77746b79d49.jpg","text":"TemporaryFile(/tmp/multipartBody817771938974631007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704126889,"filename":"image_15042025_08_13_01_5724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830766","file1":"1349830677","file0":"1349830633","file4":"1349830840","file5":"1349830885","file3":"1349830822"},"map_files_photo_id_array":[{"photo_id":"1349830885","filename":"file5"},{"photo_id":"1349830766","filename":"file2"},{"photo_id":"1349830840","filename":"file4"},{"photo_id":"1349830677","filename":"file1"},{"photo_id":"1349830633","filename":"file0"},{"photo_id":"1349830822","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349830822":["hashtag1","hashtag2"]},{"1349830677":["hashtag1","hashtag2"]},{"1349830766":["hashtag1","hashtag2"]},{"1349830885":["hashtag1","hashtag2"]},{"1349830633":["hashtag1","hashtag2"]},{"1349830840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349830822, 1349830677, 1349830766, 1349830885, 1349830633, 1349830840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.58580899238586 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:03:03.679024
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/02/image_15042025_10_02_01_7463.jpg', 2), ('/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_01_6078.jpg', 2), ('/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_01_5390.jpg', 2), ('/home/pi/Desktop/images/15042025/08/08/image_15042025_08_08_02_0633.jpg', 2), ('/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_01_9830.jpg', 2), ('/home/pi/Desktop/images/15042025/08/06/image_15042025_08_06_02_2767.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/02/image_15042025_10_02_01_7463.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_01_6078.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_01_5390.jpg', '/home/pi/Desktop/images/15042025/08/08/image_15042025_08_08_02_0633.jpg', '/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_01_9830.jpg', '/home/pi/Desktop/images/15042025/08/06/image_15042025_08_06_02_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/02/image_15042025_10_02_01_7463.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_01_6078.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_01_5390.jpg
/home/pi/Desktop/images/15042025/08/08/image_15042025_08_08_02_0633.jpg
/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_01_9830.jpg
/home/pi/Desktop/images/15042025/08/06/image_15042025_08_06_02_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349831415","1349831447","1349831519","1349831398","1349831341","1349831614"],"photo_ids_order":["1349831341","1349831398","1349831415","1349831447","1349831519","1349831614"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5f67ed4eefcec458acd1fd1d7e6ea87.jpg","text":"TemporaryFile(/tmp/multipartBody5738710405458997020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704247720,"filename":"image_15042025_08_11_01_5390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e0d6285d26f66685506d9da148f5b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5942346394552476246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704247720,"filename":"image_15042025_08_08_02_0633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32351cb8b48bafcf4510538048380067.jpg","text":"TemporaryFile(/tmp/multipartBody167534346832822916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704247720,"filename":"image_15042025_08_07_01_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b88ed9fad8d71a322110d51cb3eef7.jpg","text":"TemporaryFile(/tmp/multipartBody3702302413930735591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704247720,"filename":"image_15042025_10_01_01_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/845cfa594cdab3f54b28604d6ef84296.jpg","text":"TemporaryFile(/tmp/multipartBody3096105462003440184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704247720,"filename":"image_15042025_10_02_01_7463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e0fd33127a0be2bdd94691ecbb9835a.jpg","text":"TemporaryFile(/tmp/multipartBody4311979515760976373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704247720,"filename":"image_15042025_08_06_02_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831415","file1":"1349831398","file0":"1349831341","file4":"1349831519","file5":"1349831614","file3":"1349831447"},"map_files_photo_id_array":[{"photo_id":"1349831614","filename":"file5"},{"photo_id":"1349831415","filename":"file2"},{"photo_id":"1349831519","filename":"file4"},{"photo_id":"1349831398","filename":"file1"},{"photo_id":"1349831341","filename":"file0"},{"photo_id":"1349831447","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349831415":["hashtag1","hashtag2"]},{"1349831447":["hashtag1","hashtag2"]},{"1349831519":["hashtag1","hashtag2"]},{"1349831398":["hashtag1","hashtag2"]},{"1349831341":["hashtag1","hashtag2"]},{"1349831614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349831415, 1349831447, 1349831519, 1349831398, 1349831341, 1349831614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.48153495788574 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:05:03.538693
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_02_0974.jpg', 2), ('/home/pi/Desktop/images/15042025/10/03/image_15042025_10_03_01_4130.jpg', 2), ('/home/pi/Desktop/images/15042025/08/05/image_15042025_08_05_01_4790.jpg', 2), ('/home/pi/Desktop/images/15042025/08/04/image_15042025_08_04_01_7477.jpg', 2), ('/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_01_3255.jpg', 2), ('/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_01_7808.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_02_0974.jpg', '/home/pi/Desktop/images/15042025/10/03/image_15042025_10_03_01_4130.jpg', '/home/pi/Desktop/images/15042025/08/05/image_15042025_08_05_01_4790.jpg', '/home/pi/Desktop/images/15042025/08/04/image_15042025_08_04_01_7477.jpg', '/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_01_3255.jpg', '/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_01_7808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_02_0974.jpg
/home/pi/Desktop/images/15042025/10/03/image_15042025_10_03_01_4130.jpg
/home/pi/Desktop/images/15042025/08/05/image_15042025_08_05_01_4790.jpg
/home/pi/Desktop/images/15042025/08/04/image_15042025_08_04_01_7477.jpg
/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_01_3255.jpg
/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_01_7808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349832327","1349832365","1349832500","1349832445","1349832256","1349832231"],"photo_ids_order":["1349832231","1349832256","1349832327","1349832365","1349832445","1349832500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76abb3d0eb7b703c9e5293aa4efd2dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6394070974621077907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704367448,"filename":"image_15042025_08_05_01_4790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36baf9a20fe5eb9f4dec9e7a84a9cca0.jpg","text":"TemporaryFile(/tmp/multipartBody6626767296843591873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704367448,"filename":"image_15042025_08_04_01_7477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20c697a7697677246b136098fdbb456b.jpg","text":"TemporaryFile(/tmp/multipartBody2465208213391207514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704367448,"filename":"image_15042025_08_02_01_7808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07409f2a37d780f2d770855090bb66fd.jpg","text":"TemporaryFile(/tmp/multipartBody7112771293781495259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704367448,"filename":"image_15042025_08_03_01_3255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb94d63b3edbfef9ebff5a2c65313797.jpg","text":"TemporaryFile(/tmp/multipartBody9002131749569563470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704367448,"filename":"image_15042025_10_03_01_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1e723a3647f92eb129545adf9776420.jpg","text":"TemporaryFile(/tmp/multipartBody7559416276811865154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704367448,"filename":"image_15042025_10_04_02_0974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832327","file1":"1349832256","file0":"1349832231","file4":"1349832445","file5":"1349832500","file3":"1349832365"},"map_files_photo_id_array":[{"photo_id":"1349832500","filename":"file5"},{"photo_id":"1349832327","filename":"file2"},{"photo_id":"1349832445","filename":"file4"},{"photo_id":"1349832256","filename":"file1"},{"photo_id":"1349832231","filename":"file0"},{"photo_id":"1349832365","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349832327":["hashtag1","hashtag2"]},{"1349832365":["hashtag1","hashtag2"]},{"1349832500":["hashtag1","hashtag2"]},{"1349832445":["hashtag1","hashtag2"]},{"1349832256":["hashtag1","hashtag2"]},{"1349832231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349832327, 1349832365, 1349832500, 1349832445, 1349832256, 1349832231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.03631472587585 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:07:03.426045
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/06/image_15042025_10_06_01_6774.jpg', 2), ('/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_01_5154.jpg', 2), ('/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_01_8022.jpg', 2), ('/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_02_0789.jpg', 2), ('/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_01_9552.jpg', 2), ('/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_01_4107.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/06/image_15042025_10_06_01_6774.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_01_5154.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_01_8022.jpg', '/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_02_0789.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_01_9552.jpg', '/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_01_4107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/06/image_15042025_10_06_01_6774.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_01_5154.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_01_8022.jpg
/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_02_0789.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_01_9552.jpg
/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_01_4107.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349833655","1349833238","1349833550","1349833418","1349833321","1349833803"],"photo_ids_order":["1349833238","1349833321","1349833418","1349833550","1349833655","1349833803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9bf0a272f3c37720eb6c88935222030.jpg","text":"TemporaryFile(/tmp/multipartBody3866510425357537789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704487238,"filename":"image_15042025_07_59_01_9552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbb4d2a12817452b88dedb35cf11c15d.jpg","text":"TemporaryFile(/tmp/multipartBody466976611186852742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704487238,"filename":"image_15042025_10_06_01_6774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fe598b8fad71255584da854ce139112.jpg","text":"TemporaryFile(/tmp/multipartBody161460402924376542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704487238,"filename":"image_15042025_08_00_02_0789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c00cac88846617d5afdb47feede7a40.jpg","text":"TemporaryFile(/tmp/multipartBody3218409005081989609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704487238,"filename":"image_15042025_08_01_01_8022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67e6069e69229cc1626b3eaacd726ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5478392382328903105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704487238,"filename":"image_15042025_10_05_01_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1cd38f0423a38ff2d556ab196f769dd.jpg","text":"TemporaryFile(/tmp/multipartBody8015789890876305504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704487238,"filename":"image_15042025_07_58_01_4107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349833418","file1":"1349833321","file0":"1349833238","file4":"1349833655","file5":"1349833803","file3":"1349833550"},"map_files_photo_id_array":[{"photo_id":"1349833803","filename":"file5"},{"photo_id":"1349833418","filename":"file2"},{"photo_id":"1349833655","filename":"file4"},{"photo_id":"1349833321","filename":"file1"},{"photo_id":"1349833238","filename":"file0"},{"photo_id":"1349833550","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349833655":["hashtag1","hashtag2"]},{"1349833238":["hashtag1","hashtag2"]},{"1349833550":["hashtag1","hashtag2"]},{"1349833418":["hashtag1","hashtag2"]},{"1349833321":["hashtag1","hashtag2"]},{"1349833803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349833655, 1349833238, 1349833550, 1349833418, 1349833321, 1349833803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.21025061607361 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:09:03.771401
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/08/image_15042025_10_08_01_8002.jpg', 2), ('/home/pi/Desktop/images/15042025/10/07/image_15042025_10_07_01_4083.jpg', 2), ('/home/pi/Desktop/images/15042025/07/57/image_15042025_07_57_01_9110.jpg', 2), ('/home/pi/Desktop/images/15042025/07/56/image_15042025_07_56_01_4136.jpg', 2), ('/home/pi/Desktop/images/15042025/07/55/image_15042025_07_55_01_7847.jpg', 2), ('/home/pi/Desktop/images/15042025/07/54/image_15042025_07_54_01_9074.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/08/image_15042025_10_08_01_8002.jpg', '/home/pi/Desktop/images/15042025/10/07/image_15042025_10_07_01_4083.jpg', '/home/pi/Desktop/images/15042025/07/57/image_15042025_07_57_01_9110.jpg', '/home/pi/Desktop/images/15042025/07/56/image_15042025_07_56_01_4136.jpg', '/home/pi/Desktop/images/15042025/07/55/image_15042025_07_55_01_7847.jpg', '/home/pi/Desktop/images/15042025/07/54/image_15042025_07_54_01_9074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/08/image_15042025_10_08_01_8002.jpg
/home/pi/Desktop/images/15042025/10/07/image_15042025_10_07_01_4083.jpg
/home/pi/Desktop/images/15042025/07/57/image_15042025_07_57_01_9110.jpg
/home/pi/Desktop/images/15042025/07/56/image_15042025_07_56_01_4136.jpg
/home/pi/Desktop/images/15042025/07/55/image_15042025_07_55_01_7847.jpg
/home/pi/Desktop/images/15042025/07/54/image_15042025_07_54_01_9074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834431","1349834320","1349834257","1349834394","1349834385","1349834420"],"photo_ids_order":["1349834257","1349834320","1349834385","1349834394","1349834420","1349834431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0040d2623253a8ab62c1a6aadbf70c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6458227839539078728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704608244,"filename":"image_15042025_07_54_01_9074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d4835610c0e4ee808e208aff1f7aa34.jpg","text":"TemporaryFile(/tmp/multipartBody192724749691966260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704608244,"filename":"image_15042025_10_07_01_4083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df8e1c3d4bd0d1dd7012acf96298448d.jpg","text":"TemporaryFile(/tmp/multipartBody9164648057705483691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704608244,"filename":"image_15042025_10_08_01_8002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d63e2b886df3350d894d455050fe159d.jpg","text":"TemporaryFile(/tmp/multipartBody1495287392373619452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704608244,"filename":"image_15042025_07_56_01_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cdf598418bdfb31ae394732d2a56c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2889524798752686408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704608244,"filename":"image_15042025_07_57_01_9110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b1dd2654e7cb0e1f95fef010e9772aa.jpg","text":"TemporaryFile(/tmp/multipartBody4679510399543670115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704608244,"filename":"image_15042025_07_55_01_7847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834385","file1":"1349834320","file0":"1349834257","file4":"1349834420","file5":"1349834431","file3":"1349834394"},"map_files_photo_id_array":[{"photo_id":"1349834431","filename":"file5"},{"photo_id":"1349834385","filename":"file2"},{"photo_id":"1349834420","filename":"file4"},{"photo_id":"1349834320","filename":"file1"},{"photo_id":"1349834257","filename":"file0"},{"photo_id":"1349834394","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349834431":["hashtag1","hashtag2"]},{"1349834320":["hashtag1","hashtag2"]},{"1349834257":["hashtag1","hashtag2"]},{"1349834394":["hashtag1","hashtag2"]},{"1349834385":["hashtag1","hashtag2"]},{"1349834420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349834431, 1349834320, 1349834257, 1349834394, 1349834385, 1349834420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.8483829498291 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:11:03.327142
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/10/image_15042025_10_10_01_8146.jpg', 2), ('/home/pi/Desktop/images/15042025/10/09/image_15042025_10_09_01_6620.jpg', 2), ('/home/pi/Desktop/images/15042025/07/53/image_15042025_07_53_01_8075.jpg', 2), ('/home/pi/Desktop/images/15042025/07/52/image_15042025_07_52_02_0857.jpg', 2), ('/home/pi/Desktop/images/15042025/07/51/image_15042025_07_51_01_6937.jpg', 2), ('/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_02_2422.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/10/image_15042025_10_10_01_8146.jpg', '/home/pi/Desktop/images/15042025/10/09/image_15042025_10_09_01_6620.jpg', '/home/pi/Desktop/images/15042025/07/53/image_15042025_07_53_01_8075.jpg', '/home/pi/Desktop/images/15042025/07/52/image_15042025_07_52_02_0857.jpg', '/home/pi/Desktop/images/15042025/07/51/image_15042025_07_51_01_6937.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_02_2422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/10/image_15042025_10_10_01_8146.jpg
/home/pi/Desktop/images/15042025/10/09/image_15042025_10_09_01_6620.jpg
/home/pi/Desktop/images/15042025/07/53/image_15042025_07_53_01_8075.jpg
/home/pi/Desktop/images/15042025/07/52/image_15042025_07_52_02_0857.jpg
/home/pi/Desktop/images/15042025/07/51/image_15042025_07_51_01_6937.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_02_2422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834623","1349834676","1349834643","1349834693","1349834657","1349834666"],"photo_ids_order":["1349834623","1349834643","1349834657","1349834666","1349834676","1349834693"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76c6f3cee9d0864196d5970bfb06eade.jpg","text":"TemporaryFile(/tmp/multipartBody5155783063982622540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704727799,"filename":"image_15042025_10_10_01_8146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e9aa210d90e8800ddb396a00ac2331c.jpg","text":"TemporaryFile(/tmp/multipartBody5569695678001137487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704727799,"filename":"image_15042025_07_51_01_6937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/547e747e29295b97435d14c715c0b8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7585545247509771248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704727799,"filename":"image_15042025_10_09_01_6620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bfa2d50d7fdbd8c24496dade310f9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2932358521273596748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704727799,"filename":"image_15042025_07_50_02_2422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/110787e0fbfb8dc332625f92e83879e8.jpg","text":"TemporaryFile(/tmp/multipartBody2942213264676448685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704727799,"filename":"image_15042025_07_53_01_8075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d64a9e8cdea64c77dcb7a5967ac63634.jpg","text":"TemporaryFile(/tmp/multipartBody1280456080419976099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704727799,"filename":"image_15042025_07_52_02_0857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834657","file1":"1349834643","file0":"1349834623","file4":"1349834676","file5":"1349834693","file3":"1349834666"},"map_files_photo_id_array":[{"photo_id":"1349834693","filename":"file5"},{"photo_id":"1349834657","filename":"file2"},{"photo_id":"1349834676","filename":"file4"},{"photo_id":"1349834643","filename":"file1"},{"photo_id":"1349834623","filename":"file0"},{"photo_id":"1349834666","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349834623":["hashtag1","hashtag2"]},{"1349834676":["hashtag1","hashtag2"]},{"1349834643":["hashtag1","hashtag2"]},{"1349834693":["hashtag1","hashtag2"]},{"1349834657":["hashtag1","hashtag2"]},{"1349834666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349834623, 1349834676, 1349834643, 1349834693, 1349834657, 1349834666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.144086837768555 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:13:03.400920
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/12/image_15042025_10_12_01_6606.jpg', 2), ('/home/pi/Desktop/images/15042025/10/11/image_15042025_10_11_01_6427.jpg', 2), ('/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_02_1372.jpg', 2), ('/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_01_3990.jpg', 2), ('/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_02_1943.jpg', 2), ('/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_01_6630.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/12/image_15042025_10_12_01_6606.jpg', '/home/pi/Desktop/images/15042025/10/11/image_15042025_10_11_01_6427.jpg', '/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_02_1372.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_01_3990.jpg', '/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_02_1943.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_01_6630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/12/image_15042025_10_12_01_6606.jpg
/home/pi/Desktop/images/15042025/10/11/image_15042025_10_11_01_6427.jpg
/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_02_1372.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_01_3990.jpg
/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_02_1943.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_01_6630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835352","1349835319","1349835109","1349835197","1349835280","1349835256"],"photo_ids_order":["1349835109","1349835197","1349835256","1349835280","1349835319","1349835352"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5932d194ae32b2bc8625af1ca70d1eff.jpg","text":"TemporaryFile(/tmp/multipartBody7340605762415329380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704847879,"filename":"image_15042025_07_46_01_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9da16faedf710b64fb84a5b2ef7872e5.jpg","text":"TemporaryFile(/tmp/multipartBody226030317026816828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704847879,"filename":"image_15042025_07_47_02_1943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/937567eed2558373b5e1f8820eef99f4.jpg","text":"TemporaryFile(/tmp/multipartBody2213745860910688339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704847879,"filename":"image_15042025_10_12_01_6606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/648147c766f3841b13e91d49dc728aae.jpg","text":"TemporaryFile(/tmp/multipartBody4507182923959842937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704847879,"filename":"image_15042025_10_11_01_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd935b7d2d2c3abfa57e0ae5496030af.jpg","text":"TemporaryFile(/tmp/multipartBody8706882154003371231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704847879,"filename":"image_15042025_07_48_01_3990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6dc79921569c0bf4288058e55ac756d.jpg","text":"TemporaryFile(/tmp/multipartBody1303468788730529931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704847879,"filename":"image_15042025_07_49_02_1372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835256","file1":"1349835197","file0":"1349835109","file4":"1349835319","file5":"1349835352","file3":"1349835280"},"map_files_photo_id_array":[{"photo_id":"1349835352","filename":"file5"},{"photo_id":"1349835256","filename":"file2"},{"photo_id":"1349835319","filename":"file4"},{"photo_id":"1349835197","filename":"file1"},{"photo_id":"1349835109","filename":"file0"},{"photo_id":"1349835280","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349835352":["hashtag1","hashtag2"]},{"1349835319":["hashtag1","hashtag2"]},{"1349835109":["hashtag1","hashtag2"]},{"1349835197":["hashtag1","hashtag2"]},{"1349835280":["hashtag1","hashtag2"]},{"1349835256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349835352, 1349835319, 1349835109, 1349835197, 1349835280, 1349835256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.15746736526489 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:15:03.215028
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/14/image_15042025_10_14_01_6601.jpg', 2), ('/home/pi/Desktop/images/15042025/10/13/image_15042025_10_13_01_5828.jpg', 2), ('/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_01_2065.jpg', 2), ('/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_01_5989.jpg', 2), ('/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_01_3727.jpg', 2), ('/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_01_6722.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/14/image_15042025_10_14_01_6601.jpg', '/home/pi/Desktop/images/15042025/10/13/image_15042025_10_13_01_5828.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_01_2065.jpg', '/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_01_5989.jpg', '/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_01_3727.jpg', '/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_01_6722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/14/image_15042025_10_14_01_6601.jpg
/home/pi/Desktop/images/15042025/10/13/image_15042025_10_13_01_5828.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_01_2065.jpg
/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_01_5989.jpg
/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_01_3727.jpg
/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_01_6722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835874","1349835792","1349835703","1349835681","1349835935","1349835647"],"photo_ids_order":["1349835647","1349835681","1349835703","1349835792","1349835874","1349835935"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b99a1acf0047a79dc76772722ae639ce.jpg","text":"TemporaryFile(/tmp/multipartBody7013023483383258886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704967793,"filename":"image_15042025_07_43_01_3727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/032d93e1a55e1bc56707ece3b7726cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5209289606835427686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704967793,"filename":"image_15042025_07_44_01_5989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb14330b4d34c65a3e614a781ef90557.jpg","text":"TemporaryFile(/tmp/multipartBody3572697033717392810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704967793,"filename":"image_15042025_07_45_01_2065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8cf6737ea67db45bbcaefab7b9618e1.jpg","text":"TemporaryFile(/tmp/multipartBody7356669378576250553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704967793,"filename":"image_15042025_10_13_01_5828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15fbf365d3d5cad38d54d4fcd552a451.jpg","text":"TemporaryFile(/tmp/multipartBody5769902989586320023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704967793,"filename":"image_15042025_07_42_01_6722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab3ab0697660c22eec3e708c7dc7156a.jpg","text":"TemporaryFile(/tmp/multipartBody2530285451858609787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704967793,"filename":"image_15042025_10_14_01_6601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835703","file1":"1349835681","file0":"1349835647","file4":"1349835874","file5":"1349835935","file3":"1349835792"},"map_files_photo_id_array":[{"photo_id":"1349835935","filename":"file5"},{"photo_id":"1349835703","filename":"file2"},{"photo_id":"1349835874","filename":"file4"},{"photo_id":"1349835681","filename":"file1"},{"photo_id":"1349835647","filename":"file0"},{"photo_id":"1349835792","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349835874":["hashtag1","hashtag2"]},{"1349835792":["hashtag1","hashtag2"]},{"1349835703":["hashtag1","hashtag2"]},{"1349835681":["hashtag1","hashtag2"]},{"1349835935":["hashtag1","hashtag2"]},{"1349835647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349835874, 1349835792, 1349835703, 1349835681, 1349835935, 1349835647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.73790717124939 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:17:03.015771
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_01_5106.jpg', 2), ('/home/pi/Desktop/images/15042025/10/15/image_15042025_10_15_01_3998.jpg', 2), ('/home/pi/Desktop/images/15042025/07/36/image_15042025_07_36_01_3659.jpg', 2), ('/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_01_7908.jpg', 2), ('/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg', 2), ('/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_01_5106.jpg', '/home/pi/Desktop/images/15042025/10/15/image_15042025_10_15_01_3998.jpg', '/home/pi/Desktop/images/15042025/07/36/image_15042025_07_36_01_3659.jpg', '/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_01_7908.jpg', '/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg', '/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_01_5106.jpg
/home/pi/Desktop/images/15042025/10/15/image_15042025_10_15_01_3998.jpg
/home/pi/Desktop/images/15042025/07/36/image_15042025_07_36_01_3659.jpg
/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_01_7908.jpg
/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_01_9735.jpg
/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_02_2290.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836476","1349836470","1349836407","1349836356","1349836544","1349836567"],"photo_ids_order":["1349836356","1349836407","1349836470","1349836476","1349836544","1349836567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a296d639ee811fd784a2e576949fac1.jpg","text":"TemporaryFile(/tmp/multipartBody5376786112614032947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705087542,"filename":"image_15042025_07_34_01_7908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2261dac3d89d1e5beff4f4eeae1bde56.jpg","text":"TemporaryFile(/tmp/multipartBody6688237579973808626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705087542,"filename":"image_15042025_07_36_01_3659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb99b567026f448c1010f0b4074927e7.jpg","text":"TemporaryFile(/tmp/multipartBody7112566351085496864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705087542,"filename":"image_15042025_10_15_01_3998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03ddacb3d3480fadc1e2d3d2393963d9.jpg","text":"TemporaryFile(/tmp/multipartBody355233276942151243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705087542,"filename":"image_15042025_10_16_01_5106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/babc9bfd7ba44684a72627929fa413af.jpg","text":"TemporaryFile(/tmp/multipartBody151638426463882908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705087542,"filename":"image_15042025_07_30_01_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1201b1366bba2bc0c7036a0e9560d396.jpg","text":"TemporaryFile(/tmp/multipartBody5399717803206143436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705087542,"filename":"image_15042025_07_27_02_2290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836470","file1":"1349836407","file0":"1349836356","file4":"1349836544","file5":"1349836567","file3":"1349836476"},"map_files_photo_id_array":[{"photo_id":"1349836567","filename":"file5"},{"photo_id":"1349836470","filename":"file2"},{"photo_id":"1349836544","filename":"file4"},{"photo_id":"1349836407","filename":"file1"},{"photo_id":"1349836356","filename":"file0"},{"photo_id":"1349836476","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349836476":["hashtag1","hashtag2"]},{"1349836470":["hashtag1","hashtag2"]},{"1349836407":["hashtag1","hashtag2"]},{"1349836356":["hashtag1","hashtag2"]},{"1349836544":["hashtag1","hashtag2"]},{"1349836567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349836476, 1349836470, 1349836407, 1349836356, 1349836544, 1349836567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.24572944641113 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:19:03.107422
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_01_3371.jpg', 2), ('/home/pi/Desktop/images/15042025/10/17/image_15042025_10_17_02_1974.jpg', 2), ('/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', 2), ('/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', 2), ('/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', 2), ('/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_01_3371.jpg', '/home/pi/Desktop/images/15042025/10/17/image_15042025_10_17_02_1974.jpg', '/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg', '/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg', '/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg', '/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_01_3371.jpg
/home/pi/Desktop/images/15042025/10/17/image_15042025_10_17_02_1974.jpg
/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_01_9559.jpg
/home/pi/Desktop/images/15042025/07/25/image_15042025_07_25_01_8010.jpg
/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_01_9248.jpg
/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_01_7989.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836866","1349836989","1349836941","1349836914","1349836966","1349836882"],"photo_ids_order":["1349836866","1349836882","1349836914","1349836941","1349836966","1349836989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e1d524e078f8afb62b91f741e087918.jpg","text":"TemporaryFile(/tmp/multipartBody843468234112541469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705207666,"filename":"image_15042025_10_18_01_3371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/631ebd49665bf9ea74b7ae723338199c.jpg","text":"TemporaryFile(/tmp/multipartBody3153705719719933260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705207666,"filename":"image_15042025_07_23_01_7989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71c28e84b8e520ed4a6d7b5e7e4c2fac.jpg","text":"TemporaryFile(/tmp/multipartBody9050639921102174912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705207666,"filename":"image_15042025_07_25_01_8010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cd4ba032cdda566fa23fa99d4b85a49.jpg","text":"TemporaryFile(/tmp/multipartBody843661719099391731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705207666,"filename":"image_15042025_07_26_01_9559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/becdff2033d0ce138068f8b3b0e7d35b.jpg","text":"TemporaryFile(/tmp/multipartBody8378540779982751519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705207666,"filename":"image_15042025_07_24_01_9248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e1816ff95d82cb6b7f14fda6647fbbc.jpg","text":"TemporaryFile(/tmp/multipartBody3402637253007223084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705207666,"filename":"image_15042025_10_17_02_1974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836914","file1":"1349836882","file0":"1349836866","file4":"1349836966","file5":"1349836989","file3":"1349836941"},"map_files_photo_id_array":[{"photo_id":"1349836989","filename":"file5"},{"photo_id":"1349836914","filename":"file2"},{"photo_id":"1349836966","filename":"file4"},{"photo_id":"1349836882","filename":"file1"},{"photo_id":"1349836866","filename":"file0"},{"photo_id":"1349836941","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349836866":["hashtag1","hashtag2"]},{"1349836989":["hashtag1","hashtag2"]},{"1349836941":["hashtag1","hashtag2"]},{"1349836914":["hashtag1","hashtag2"]},{"1349836966":["hashtag1","hashtag2"]},{"1349836882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349836866, 1349836989, 1349836941, 1349836914, 1349836966, 1349836882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.959471702575684 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:21:03.519656
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_02_1610.jpg', 2), ('/home/pi/Desktop/images/15042025/07/22/image_15042025_07_22_01_2785.jpg', 2), ('/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_01_4444.jpg', 2), ('/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_01_1805.jpg', 2), ('/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_01_6980.jpg', 2), ('/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_01_5906.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_02_1610.jpg', '/home/pi/Desktop/images/15042025/07/22/image_15042025_07_22_01_2785.jpg', '/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_01_4444.jpg', '/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_01_1805.jpg', '/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_01_6980.jpg', '/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_01_5906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_02_1610.jpg
/home/pi/Desktop/images/15042025/07/22/image_15042025_07_22_01_2785.jpg
/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_01_4444.jpg
/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_01_1805.jpg
/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_01_6980.jpg
/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_01_5906.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349837235","1349837220","1349837198","1349837354","1349837300","1349837367"],"photo_ids_order":["1349837198","1349837220","1349837235","1349837300","1349837354","1349837367"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24b19691a613ef07d5ff776935102c90.jpg","text":"TemporaryFile(/tmp/multipartBody4130858789908932037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705328573,"filename":"image_15042025_07_20_01_4444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed495125c54a5a14a613e9787bd1416a.jpg","text":"TemporaryFile(/tmp/multipartBody2929920799906535824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705328573,"filename":"image_15042025_07_22_01_2785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc958703410a861eb733717d1a00b192.jpg","text":"TemporaryFile(/tmp/multipartBody5075318173506955581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705328573,"filename":"image_15042025_10_19_02_1610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58ac9a8a553d1e94af90d1d62dde19a4.jpg","text":"TemporaryFile(/tmp/multipartBody7298544691244440448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705328573,"filename":"image_15042025_07_18_01_6980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/373f187f40e20aee542b68fdbec1c9e6.jpg","text":"TemporaryFile(/tmp/multipartBody8225917098502475595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705328573,"filename":"image_15042025_07_19_01_1805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9ee555dc2f33dcecc49657c745b5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6044881059641698129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705328573,"filename":"image_15042025_07_15_01_5906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837235","file1":"1349837220","file0":"1349837198","file4":"1349837354","file5":"1349837367","file3":"1349837300"},"map_files_photo_id_array":[{"photo_id":"1349837367","filename":"file5"},{"photo_id":"1349837235","filename":"file2"},{"photo_id":"1349837354","filename":"file4"},{"photo_id":"1349837220","filename":"file1"},{"photo_id":"1349837198","filename":"file0"},{"photo_id":"1349837300","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349837235":["hashtag1","hashtag2"]},{"1349837220":["hashtag1","hashtag2"]},{"1349837198":["hashtag1","hashtag2"]},{"1349837354":["hashtag1","hashtag2"]},{"1349837300":["hashtag1","hashtag2"]},{"1349837367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349837235, 1349837220, 1349837198, 1349837354, 1349837300, 1349837367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.84376811981201 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:23:03.852907
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/22/image_15042025_10_22_01_9581.jpg', 2), ('/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_01_3023.jpg', 2), ('/home/pi/Desktop/images/15042025/07/13/image_15042025_07_13_01_6912.jpg', 2), ('/home/pi/Desktop/images/15042025/07/11/image_15042025_07_11_01_8472.jpg', 2), ('/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg', 2), ('/home/pi/Desktop/images/15042025/07/09/image_15042025_07_09_02_0549.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/22/image_15042025_10_22_01_9581.jpg', '/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_01_3023.jpg', '/home/pi/Desktop/images/15042025/07/13/image_15042025_07_13_01_6912.jpg', '/home/pi/Desktop/images/15042025/07/11/image_15042025_07_11_01_8472.jpg', '/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg', '/home/pi/Desktop/images/15042025/07/09/image_15042025_07_09_02_0549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/22/image_15042025_10_22_01_9581.jpg
/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_01_3023.jpg
/home/pi/Desktop/images/15042025/07/13/image_15042025_07_13_01_6912.jpg
/home/pi/Desktop/images/15042025/07/11/image_15042025_07_11_01_8472.jpg
/home/pi/Desktop/images/15042025/07/10/image_15042025_07_10_01_5169.jpg
/home/pi/Desktop/images/15042025/07/09/image_15042025_07_09_02_0549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838146","1349837936","1349838082","1349838253","1349838232","1349838022"],"photo_ids_order":["1349837936","1349838022","1349838082","1349838146","1349838232","1349838253"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79d5f6100cd0a24baf585fa703bd55a8.jpg","text":"TemporaryFile(/tmp/multipartBody3540933173115547936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705448452,"filename":"image_15042025_07_11_01_8472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/399181b1132c3dd4b5081b9eed957ebb.jpg","text":"TemporaryFile(/tmp/multipartBody7064643206879501187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705448452,"filename":"image_15042025_10_22_01_9581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47ff2104fd21a2c757455e93fb48e9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5452795676949490380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705448452,"filename":"image_15042025_07_13_01_6912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4da377a61b8744d33d3f428ba2572fc3.jpg","text":"TemporaryFile(/tmp/multipartBody7703104364218872477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705448452,"filename":"image_15042025_07_09_02_0549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c929b40d89d3ae45666dea5df20bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody4443350513906073749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705448452,"filename":"image_15042025_07_10_01_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a14bcf1c541ac9a82ad4c7f2589c2b8.jpg","text":"TemporaryFile(/tmp/multipartBody6432906560800488793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705448452,"filename":"image_15042025_10_20_01_3023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838082","file1":"1349838022","file0":"1349837936","file4":"1349838232","file5":"1349838253","file3":"1349838146"},"map_files_photo_id_array":[{"photo_id":"1349838253","filename":"file5"},{"photo_id":"1349838082","filename":"file2"},{"photo_id":"1349838232","filename":"file4"},{"photo_id":"1349838022","filename":"file1"},{"photo_id":"1349837936","filename":"file0"},{"photo_id":"1349838146","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349838146":["hashtag1","hashtag2"]},{"1349837936":["hashtag1","hashtag2"]},{"1349838082":["hashtag1","hashtag2"]},{"1349838253":["hashtag1","hashtag2"]},{"1349838232":["hashtag1","hashtag2"]},{"1349838022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349838146, 1349837936, 1349838082, 1349838253, 1349838232, 1349838022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.07925009727478 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:25:07.992541
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/24/image_15042025_10_24_02_1072.jpg', 2), ('/home/pi/Desktop/images/15042025/10/23/image_15042025_10_23_01_8173.jpg', 2), ('/home/pi/Desktop/images/15042025/07/08/image_15042025_07_08_01_8039.jpg', 2), ('/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg', 2), ('/home/pi/Desktop/images/15042025/07/06/image_15042025_07_06_02_1257.jpg', 2), ('/home/pi/Desktop/images/15042025/07/05/image_15042025_07_05_01_9071.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/24/image_15042025_10_24_02_1072.jpg', '/home/pi/Desktop/images/15042025/10/23/image_15042025_10_23_01_8173.jpg', '/home/pi/Desktop/images/15042025/07/08/image_15042025_07_08_01_8039.jpg', '/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg', '/home/pi/Desktop/images/15042025/07/06/image_15042025_07_06_02_1257.jpg', '/home/pi/Desktop/images/15042025/07/05/image_15042025_07_05_01_9071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/24/image_15042025_10_24_02_1072.jpg
/home/pi/Desktop/images/15042025/10/23/image_15042025_10_23_01_8173.jpg
/home/pi/Desktop/images/15042025/07/08/image_15042025_07_08_01_8039.jpg
/home/pi/Desktop/images/15042025/07/07/image_15042025_07_07_01_9334.jpg
/home/pi/Desktop/images/15042025/07/06/image_15042025_07_06_02_1257.jpg
/home/pi/Desktop/images/15042025/07/05/image_15042025_07_05_01_9071.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838791","1349838671","1349838743","1349838806","1349838832","1349838822"],"photo_ids_order":["1349838671","1349838743","1349838791","1349838806","1349838822","1349838832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3268b6bb6bc059779bedabd3676b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody6030222413693594233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705573938,"filename":"image_15042025_07_08_01_8039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c81346b4398f34e1ff3d6046db0b839.jpg","text":"TemporaryFile(/tmp/multipartBody3755397343599537273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705573938,"filename":"image_15042025_10_24_02_1072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1bc7eff41849b6b26bf4c9bb91e8bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4580443216974452460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705573938,"filename":"image_15042025_10_23_01_8173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4526136a2fc15ebb2c1c311bbb4bc90.jpg","text":"TemporaryFile(/tmp/multipartBody2095418450051069131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705573938,"filename":"image_15042025_07_07_01_9334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/caf8a1de8b5e95e7a523d557e7450b24.jpg","text":"TemporaryFile(/tmp/multipartBody7117229545225207351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705573938,"filename":"image_15042025_07_05_01_9071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c92281a683f3d89ffc5397aeb13573b5.jpg","text":"TemporaryFile(/tmp/multipartBody6102702157736737646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705573938,"filename":"image_15042025_07_06_02_1257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838791","file1":"1349838743","file0":"1349838671","file4":"1349838822","file5":"1349838832","file3":"1349838806"},"map_files_photo_id_array":[{"photo_id":"1349838832","filename":"file5"},{"photo_id":"1349838791","filename":"file2"},{"photo_id":"1349838822","filename":"file4"},{"photo_id":"1349838743","filename":"file1"},{"photo_id":"1349838671","filename":"file0"},{"photo_id":"1349838806","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349838791":["hashtag1","hashtag2"]},{"1349838671":["hashtag1","hashtag2"]},{"1349838743":["hashtag1","hashtag2"]},{"1349838806":["hashtag1","hashtag2"]},{"1349838832":["hashtag1","hashtag2"]},{"1349838822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349838791, 1349838671, 1349838743, 1349838806, 1349838832, 1349838822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.40571808815002 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:27:04.349175
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_02_2479.jpg', 2), ('/home/pi/Desktop/images/15042025/10/25/image_15042025_10_25_01_9076.jpg', 2), ('/home/pi/Desktop/images/15042025/07/03/image_15042025_07_03_01_4051.jpg', 2), ('/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_01_4430.jpg', 2), ('/home/pi/Desktop/images/15042025/07/01/image_15042025_07_01_01_3588.jpg', 2), ('/home/pi/Desktop/images/15042025/07/00/image_15042025_07_00_02_1013.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_02_2479.jpg', '/home/pi/Desktop/images/15042025/10/25/image_15042025_10_25_01_9076.jpg', '/home/pi/Desktop/images/15042025/07/03/image_15042025_07_03_01_4051.jpg', '/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_01_4430.jpg', '/home/pi/Desktop/images/15042025/07/01/image_15042025_07_01_01_3588.jpg', '/home/pi/Desktop/images/15042025/07/00/image_15042025_07_00_02_1013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_02_2479.jpg
/home/pi/Desktop/images/15042025/10/25/image_15042025_10_25_01_9076.jpg
/home/pi/Desktop/images/15042025/07/03/image_15042025_07_03_01_4051.jpg
/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_01_4430.jpg
/home/pi/Desktop/images/15042025/07/01/image_15042025_07_01_01_3588.jpg
/home/pi/Desktop/images/15042025/07/00/image_15042025_07_00_02_1013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839046","1349838988","1349839030","1349838985","1349838999","1349839011"],"photo_ids_order":["1349838985","1349838988","1349838999","1349839011","1349839030","1349839046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/819640eb577b1ac3144069c4b24f63f9.jpg","text":"TemporaryFile(/tmp/multipartBody117274495163385087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705689747,"filename":"image_15042025_07_00_02_1013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e41bc22d76f2fccea71a99cdf25b9e35.jpg","text":"TemporaryFile(/tmp/multipartBody4349003541749772327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705689747,"filename":"image_15042025_10_25_01_9076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d558effb23126fe59398b54f2a0b8d81.jpg","text":"TemporaryFile(/tmp/multipartBody1818769991274707733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705689747,"filename":"image_15042025_07_01_01_3588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c4a183bf09cf94241aabeabff4dec88.jpg","text":"TemporaryFile(/tmp/multipartBody8227913636963507144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705689747,"filename":"image_15042025_10_26_02_2479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d02cb14f18845f779a671fe67d97236a.jpg","text":"TemporaryFile(/tmp/multipartBody3980802218049505149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705689747,"filename":"image_15042025_07_03_01_4051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41cd0c52bb8d3932d2cb02df856c01cb.jpg","text":"TemporaryFile(/tmp/multipartBody4288507999272976512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705689747,"filename":"image_15042025_07_02_01_4430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838999","file1":"1349838988","file0":"1349838985","file4":"1349839030","file5":"1349839046","file3":"1349839011"},"map_files_photo_id_array":[{"photo_id":"1349839046","filename":"file5"},{"photo_id":"1349838999","filename":"file2"},{"photo_id":"1349839030","filename":"file4"},{"photo_id":"1349838988","filename":"file1"},{"photo_id":"1349838985","filename":"file0"},{"photo_id":"1349839011","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349839046":["hashtag1","hashtag2"]},{"1349838988":["hashtag1","hashtag2"]},{"1349839030":["hashtag1","hashtag2"]},{"1349838985":["hashtag1","hashtag2"]},{"1349838999":["hashtag1","hashtag2"]},{"1349839011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349839046, 1349838988, 1349839030, 1349838985, 1349838999, 1349839011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.60401630401611 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:29:03.942106
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_01_8217.jpg', 2), ('/home/pi/Desktop/images/15042025/06/59/image_15042025_06_59_01_8755.jpg', 2), ('/home/pi/Desktop/images/15042025/06/58/image_15042025_06_58_02_1681.jpg', 2), ('/home/pi/Desktop/images/15042025/06/55/image_15042025_06_55_01_8272.jpg', 2), ('/home/pi/Desktop/images/15042025/06/53/image_15042025_06_53_02_0574.jpg', 2), ('/home/pi/Desktop/images/15042025/06/52/image_15042025_06_52_02_2811.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_01_8217.jpg', '/home/pi/Desktop/images/15042025/06/59/image_15042025_06_59_01_8755.jpg', '/home/pi/Desktop/images/15042025/06/58/image_15042025_06_58_02_1681.jpg', '/home/pi/Desktop/images/15042025/06/55/image_15042025_06_55_01_8272.jpg', '/home/pi/Desktop/images/15042025/06/53/image_15042025_06_53_02_0574.jpg', '/home/pi/Desktop/images/15042025/06/52/image_15042025_06_52_02_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_01_8217.jpg
/home/pi/Desktop/images/15042025/06/59/image_15042025_06_59_01_8755.jpg
/home/pi/Desktop/images/15042025/06/58/image_15042025_06_58_02_1681.jpg
/home/pi/Desktop/images/15042025/06/55/image_15042025_06_55_01_8272.jpg
/home/pi/Desktop/images/15042025/06/53/image_15042025_06_53_02_0574.jpg
/home/pi/Desktop/images/15042025/06/52/image_15042025_06_52_02_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839265","1349839250","1349839223","1349839331","1349839180","1349839320"],"photo_ids_order":["1349839180","1349839223","1349839250","1349839265","1349839320","1349839331"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c3f98fcf52cb390759ef0550dc6364f.jpg","text":"TemporaryFile(/tmp/multipartBody2619857367035061440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705808783,"filename":"image_15042025_06_55_01_8272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b02b102906a2d10d9810da9fb1c52ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4232402842550336480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705808783,"filename":"image_15042025_06_58_02_1681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58577b663bf8952b6fee17213d2c7377.jpg","text":"TemporaryFile(/tmp/multipartBody4187779889643334075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705808783,"filename":"image_15042025_06_59_01_8755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d955d39dc1998f1976a747578609b306.jpg","text":"TemporaryFile(/tmp/multipartBody2730738133271331664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705808783,"filename":"image_15042025_06_52_02_2811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d79c2ad389be16bbc446539bebcece86.jpg","text":"TemporaryFile(/tmp/multipartBody3842719647102266242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705808783,"filename":"image_15042025_10_27_01_8217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/955ee6170890704a3b81095202fb92e5.jpg","text":"TemporaryFile(/tmp/multipartBody9067765023627258810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705808783,"filename":"image_15042025_06_53_02_0574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839250","file1":"1349839223","file0":"1349839180","file4":"1349839320","file5":"1349839331","file3":"1349839265"},"map_files_photo_id_array":[{"photo_id":"1349839331","filename":"file5"},{"photo_id":"1349839250","filename":"file2"},{"photo_id":"1349839320","filename":"file4"},{"photo_id":"1349839223","filename":"file1"},{"photo_id":"1349839180","filename":"file0"},{"photo_id":"1349839265","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349839265":["hashtag1","hashtag2"]},{"1349839250":["hashtag1","hashtag2"]},{"1349839223":["hashtag1","hashtag2"]},{"1349839331":["hashtag1","hashtag2"]},{"1349839180":["hashtag1","hashtag2"]},{"1349839320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349839265, 1349839250, 1349839223, 1349839331, 1349839180, 1349839320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.129366874694824 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:31:03.300355
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/30/image_15042025_10_30_01_9369.jpg', 2), ('/home/pi/Desktop/images/15042025/10/28/image_15042025_10_28_01_4489.jpg', 2), ('/home/pi/Desktop/images/15042025/06/51/image_15042025_06_51_01_8172.jpg', 2), ('/home/pi/Desktop/images/15042025/06/50/image_15042025_06_50_02_2632.jpg', 2), ('/home/pi/Desktop/images/15042025/06/49/image_15042025_06_49_01_9568.jpg', 2), ('/home/pi/Desktop/images/15042025/06/48/image_15042025_06_48_02_0709.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/30/image_15042025_10_30_01_9369.jpg', '/home/pi/Desktop/images/15042025/10/28/image_15042025_10_28_01_4489.jpg', '/home/pi/Desktop/images/15042025/06/51/image_15042025_06_51_01_8172.jpg', '/home/pi/Desktop/images/15042025/06/50/image_15042025_06_50_02_2632.jpg', '/home/pi/Desktop/images/15042025/06/49/image_15042025_06_49_01_9568.jpg', '/home/pi/Desktop/images/15042025/06/48/image_15042025_06_48_02_0709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/30/image_15042025_10_30_01_9369.jpg
/home/pi/Desktop/images/15042025/10/28/image_15042025_10_28_01_4489.jpg
/home/pi/Desktop/images/15042025/06/51/image_15042025_06_51_01_8172.jpg
/home/pi/Desktop/images/15042025/06/50/image_15042025_06_50_02_2632.jpg
/home/pi/Desktop/images/15042025/06/49/image_15042025_06_49_01_9568.jpg
/home/pi/Desktop/images/15042025/06/48/image_15042025_06_48_02_0709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839754","1349839628","1349839777","1349839788","1349839682","1349839766"],"photo_ids_order":["1349839628","1349839682","1349839754","1349839766","1349839777","1349839788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9d3ea8c0d04d055bc3d730a8a8dc3c4.jpg","text":"TemporaryFile(/tmp/multipartBody3959934721790224065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705927832,"filename":"image_15042025_06_51_01_8172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4e6049f05f0e161b4f2dc404c24054f.jpg","text":"TemporaryFile(/tmp/multipartBody8378328173891216415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705927832,"filename":"image_15042025_10_30_01_9369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac3c5197cda3084cb8f479c3a0fa2f75.jpg","text":"TemporaryFile(/tmp/multipartBody2710692877927123153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705927832,"filename":"image_15042025_06_49_01_9568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/337d75c4a688937eae9c7ebb9f8223c0.jpg","text":"TemporaryFile(/tmp/multipartBody1784428893802050955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705927832,"filename":"image_15042025_06_48_02_0709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff835013a6c49fe90ef3bfe068a62074.jpg","text":"TemporaryFile(/tmp/multipartBody2433321964091671542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705927832,"filename":"image_15042025_10_28_01_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6aa4d61f271a79d015d5a5de64f488c.jpg","text":"TemporaryFile(/tmp/multipartBody3232603104129879741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705927832,"filename":"image_15042025_06_50_02_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839754","file1":"1349839682","file0":"1349839628","file4":"1349839777","file5":"1349839788","file3":"1349839766"},"map_files_photo_id_array":[{"photo_id":"1349839788","filename":"file5"},{"photo_id":"1349839754","filename":"file2"},{"photo_id":"1349839777","filename":"file4"},{"photo_id":"1349839682","filename":"file1"},{"photo_id":"1349839628","filename":"file0"},{"photo_id":"1349839766","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349839754":["hashtag1","hashtag2"]},{"1349839628":["hashtag1","hashtag2"]},{"1349839777":["hashtag1","hashtag2"]},{"1349839788":["hashtag1","hashtag2"]},{"1349839682":["hashtag1","hashtag2"]},{"1349839766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349839754, 1349839628, 1349839777, 1349839788, 1349839682, 1349839766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.35155248641968 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:33:03.805501
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/32/image_15042025_10_32_01_6773.jpg', 2), ('/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_01_6264.jpg', 2), ('/home/pi/Desktop/images/15042025/06/47/image_15042025_06_47_01_9480.jpg', 2), ('/home/pi/Desktop/images/15042025/06/46/image_15042025_06_46_01_8920.jpg', 2), ('/home/pi/Desktop/images/15042025/06/45/image_15042025_06_45_01_7430.jpg', 2), ('/home/pi/Desktop/images/15042025/06/44/image_15042025_06_44_01_8275.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/32/image_15042025_10_32_01_6773.jpg', '/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_01_6264.jpg', '/home/pi/Desktop/images/15042025/06/47/image_15042025_06_47_01_9480.jpg', '/home/pi/Desktop/images/15042025/06/46/image_15042025_06_46_01_8920.jpg', '/home/pi/Desktop/images/15042025/06/45/image_15042025_06_45_01_7430.jpg', '/home/pi/Desktop/images/15042025/06/44/image_15042025_06_44_01_8275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/32/image_15042025_10_32_01_6773.jpg
/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_01_6264.jpg
/home/pi/Desktop/images/15042025/06/47/image_15042025_06_47_01_9480.jpg
/home/pi/Desktop/images/15042025/06/46/image_15042025_06_46_01_8920.jpg
/home/pi/Desktop/images/15042025/06/45/image_15042025_06_45_01_7430.jpg
/home/pi/Desktop/images/15042025/06/44/image_15042025_06_44_01_8275.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840291","1349840180","1349840255","1349840243","1349840266","1349840307"],"photo_ids_order":["1349840180","1349840243","1349840255","1349840266","1349840291","1349840307"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb44fa45e63b57ff08c93dfe85d143be.jpg","text":"TemporaryFile(/tmp/multipartBody4609826184043313364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706048261,"filename":"image_15042025_06_45_01_7430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa19de9243f145fd11e1b44b629b4b17.jpg","text":"TemporaryFile(/tmp/multipartBody7732891191225623657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706048261,"filename":"image_15042025_10_32_01_6773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94138f27121d18a44a809c008e8d2a99.jpg","text":"TemporaryFile(/tmp/multipartBody7546259272864684639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706048261,"filename":"image_15042025_06_47_01_9480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f2bb269a4ddd8d0fa6e5ec38efd402d.jpg","text":"TemporaryFile(/tmp/multipartBody7573458142283535798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706048261,"filename":"image_15042025_10_31_01_6264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/691a68def7fcb3aa6bfd606514949cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2924577027041823130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706048261,"filename":"image_15042025_06_46_01_8920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2a2e8f1fb63256a44e6be493320014a.jpg","text":"TemporaryFile(/tmp/multipartBody8196938917329588212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706048261,"filename":"image_15042025_06_44_01_8275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840255","file1":"1349840243","file0":"1349840180","file4":"1349840291","file5":"1349840307","file3":"1349840266"},"map_files_photo_id_array":[{"photo_id":"1349840307","filename":"file5"},{"photo_id":"1349840255","filename":"file2"},{"photo_id":"1349840291","filename":"file4"},{"photo_id":"1349840243","filename":"file1"},{"photo_id":"1349840180","filename":"file0"},{"photo_id":"1349840266","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349840291":["hashtag1","hashtag2"]},{"1349840180":["hashtag1","hashtag2"]},{"1349840255":["hashtag1","hashtag2"]},{"1349840243":["hashtag1","hashtag2"]},{"1349840266":["hashtag1","hashtag2"]},{"1349840307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349840291, 1349840180, 1349840255, 1349840243, 1349840266, 1349840307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.891008615493774 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:35:03.684861
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/34/image_15042025_10_34_02_1369.jpg', 2), ('/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_01_3983.jpg', 2), ('/home/pi/Desktop/images/15042025/06/43/image_15042025_06_43_01_7368.jpg', 2), ('/home/pi/Desktop/images/15042025/06/42/image_15042025_06_42_01_9708.jpg', 2), ('/home/pi/Desktop/images/15042025/06/41/image_15042025_06_41_01_7587.jpg', 2), ('/home/pi/Desktop/images/15042025/06/40/image_15042025_06_40_02_2223.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/34/image_15042025_10_34_02_1369.jpg', '/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_01_3983.jpg', '/home/pi/Desktop/images/15042025/06/43/image_15042025_06_43_01_7368.jpg', '/home/pi/Desktop/images/15042025/06/42/image_15042025_06_42_01_9708.jpg', '/home/pi/Desktop/images/15042025/06/41/image_15042025_06_41_01_7587.jpg', '/home/pi/Desktop/images/15042025/06/40/image_15042025_06_40_02_2223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/34/image_15042025_10_34_02_1369.jpg
/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_01_3983.jpg
/home/pi/Desktop/images/15042025/06/43/image_15042025_06_43_01_7368.jpg
/home/pi/Desktop/images/15042025/06/42/image_15042025_06_42_01_9708.jpg
/home/pi/Desktop/images/15042025/06/41/image_15042025_06_41_01_7587.jpg
/home/pi/Desktop/images/15042025/06/40/image_15042025_06_40_02_2223.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840897","1349840845","1349840911","1349840796","1349840937","1349840999"],"photo_ids_order":["1349840796","1349840845","1349840897","1349840911","1349840937","1349840999"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7b35a1e4463941ec566d795e598a841.jpg","text":"TemporaryFile(/tmp/multipartBody6286640930997581018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706168201,"filename":"image_15042025_06_43_01_7368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a9c138f73fcbf5f9ee87928b6642a75.jpg","text":"TemporaryFile(/tmp/multipartBody5214038125339390299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706168201,"filename":"image_15042025_10_33_01_3983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27d7d982c93ec4937df703cd94ed0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2377100526772843192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706168201,"filename":"image_15042025_06_42_01_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e109a33f6576e86b41403849690fd79.jpg","text":"TemporaryFile(/tmp/multipartBody5019454833855378283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706168201,"filename":"image_15042025_10_34_02_1369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/639c66c607d11d35b1bc11eed131d86d.jpg","text":"TemporaryFile(/tmp/multipartBody2242471871776377532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706168201,"filename":"image_15042025_06_41_01_7587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0933872fe8fa79c3f5d53593252117fd.jpg","text":"TemporaryFile(/tmp/multipartBody5033259060991460980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706168201,"filename":"image_15042025_06_40_02_2223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840897","file1":"1349840845","file0":"1349840796","file4":"1349840937","file5":"1349840999","file3":"1349840911"},"map_files_photo_id_array":[{"photo_id":"1349840999","filename":"file5"},{"photo_id":"1349840897","filename":"file2"},{"photo_id":"1349840937","filename":"file4"},{"photo_id":"1349840845","filename":"file1"},{"photo_id":"1349840796","filename":"file0"},{"photo_id":"1349840911","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349840897":["hashtag1","hashtag2"]},{"1349840845":["hashtag1","hashtag2"]},{"1349840911":["hashtag1","hashtag2"]},{"1349840796":["hashtag1","hashtag2"]},{"1349840937":["hashtag1","hashtag2"]},{"1349840999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349840897, 1349840845, 1349840911, 1349840796, 1349840937, 1349840999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.90088725090027 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:37:03.564044
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/36/image_15042025_10_36_02_0671.jpg', 2), ('/home/pi/Desktop/images/15042025/10/35/image_15042025_10_35_02_1752.jpg', 2), ('/home/pi/Desktop/images/15042025/06/39/image_15042025_06_39_01_8363.jpg', 2), ('/home/pi/Desktop/images/15042025/06/38/image_15042025_06_38_01_6076.jpg', 2), ('/home/pi/Desktop/images/15042025/06/37/image_15042025_06_37_01_4201.jpg', 2), ('/home/pi/Desktop/images/15042025/06/36/image_15042025_06_36_01_9382.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/36/image_15042025_10_36_02_0671.jpg', '/home/pi/Desktop/images/15042025/10/35/image_15042025_10_35_02_1752.jpg', '/home/pi/Desktop/images/15042025/06/39/image_15042025_06_39_01_8363.jpg', '/home/pi/Desktop/images/15042025/06/38/image_15042025_06_38_01_6076.jpg', '/home/pi/Desktop/images/15042025/06/37/image_15042025_06_37_01_4201.jpg', '/home/pi/Desktop/images/15042025/06/36/image_15042025_06_36_01_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/36/image_15042025_10_36_02_0671.jpg
/home/pi/Desktop/images/15042025/10/35/image_15042025_10_35_02_1752.jpg
/home/pi/Desktop/images/15042025/06/39/image_15042025_06_39_01_8363.jpg
/home/pi/Desktop/images/15042025/06/38/image_15042025_06_38_01_6076.jpg
/home/pi/Desktop/images/15042025/06/37/image_15042025_06_37_01_4201.jpg
/home/pi/Desktop/images/15042025/06/36/image_15042025_06_36_01_9382.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841493","1349841433","1349841582","1349841316","1349841372","1349841423"],"photo_ids_order":["1349841316","1349841372","1349841423","1349841433","1349841493","1349841582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9aa31308bcd1db0ffccb7b02c88a9b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8705729607064987185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706288088,"filename":"image_15042025_06_37_01_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18786d8a2ace0b0aad6102ff913adbd5.jpg","text":"TemporaryFile(/tmp/multipartBody3575779800767452035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706288088,"filename":"image_15042025_06_38_01_6076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9dddeaeaa2c48d66bae4e5c618e8c18.jpg","text":"TemporaryFile(/tmp/multipartBody3618519668837564497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706288088,"filename":"image_15042025_06_36_01_9382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/041872a7ac957f47798306ee58dbf372.jpg","text":"TemporaryFile(/tmp/multipartBody1827877029132805670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706288088,"filename":"image_15042025_10_36_02_0671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75adc357847b743275b188d6d7e42c69.jpg","text":"TemporaryFile(/tmp/multipartBody887136614622124477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706288088,"filename":"image_15042025_10_35_02_1752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/894608fac65d0e37644813ed13a789b9.jpg","text":"TemporaryFile(/tmp/multipartBody4664945843803229013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706288088,"filename":"image_15042025_06_39_01_8363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841423","file1":"1349841372","file0":"1349841316","file4":"1349841493","file5":"1349841582","file3":"1349841433"},"map_files_photo_id_array":[{"photo_id":"1349841582","filename":"file5"},{"photo_id":"1349841423","filename":"file2"},{"photo_id":"1349841493","filename":"file4"},{"photo_id":"1349841372","filename":"file1"},{"photo_id":"1349841316","filename":"file0"},{"photo_id":"1349841433","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349841493":["hashtag1","hashtag2"]},{"1349841433":["hashtag1","hashtag2"]},{"1349841582":["hashtag1","hashtag2"]},{"1349841316":["hashtag1","hashtag2"]},{"1349841372":["hashtag1","hashtag2"]},{"1349841423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349841493, 1349841433, 1349841582, 1349841316, 1349841372, 1349841423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.30375838279724 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:39:04.027588
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/38/image_15042025_10_38_01_9586.jpg', 2), ('/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_01_6677.jpg', 2), ('/home/pi/Desktop/images/15042025/06/35/image_15042025_06_35_01_7844.jpg', 2), ('/home/pi/Desktop/images/15042025/06/34/image_15042025_06_34_01_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg', 2), ('/home/pi/Desktop/images/15042025/06/32/image_15042025_06_32_01_6483.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/38/image_15042025_10_38_01_9586.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_01_6677.jpg', '/home/pi/Desktop/images/15042025/06/35/image_15042025_06_35_01_7844.jpg', '/home/pi/Desktop/images/15042025/06/34/image_15042025_06_34_01_2276.jpg', '/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg', '/home/pi/Desktop/images/15042025/06/32/image_15042025_06_32_01_6483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/38/image_15042025_10_38_01_9586.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_01_6677.jpg
/home/pi/Desktop/images/15042025/06/35/image_15042025_06_35_01_7844.jpg
/home/pi/Desktop/images/15042025/06/34/image_15042025_06_34_01_2276.jpg
/home/pi/Desktop/images/15042025/06/33/image_15042025_06_33_02_1181.jpg
/home/pi/Desktop/images/15042025/06/32/image_15042025_06_32_01_6483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841821","1349841862","1349841925","1349841996","1349841975","1349841831"],"photo_ids_order":["1349841821","1349841831","1349841862","1349841925","1349841975","1349841996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc8427e303221f23068aa38e7e413690.jpg","text":"TemporaryFile(/tmp/multipartBody4508722310819879438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706408635,"filename":"image_15042025_10_38_01_9586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f7b321ceacff54bddefadfa3f36c708.jpg","text":"TemporaryFile(/tmp/multipartBody1084679914772683265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706408635,"filename":"image_15042025_06_35_01_7844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2f524576fe4c8ec281c2cb2d427d9a4.jpg","text":"TemporaryFile(/tmp/multipartBody1551553108422908132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706408635,"filename":"image_15042025_06_34_01_2276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3049972e46605fdf09a89c0d96eef794.jpg","text":"TemporaryFile(/tmp/multipartBody1894060031382016011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706408635,"filename":"image_15042025_06_32_01_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98de4e5dea7bd1e5dcc3495249afb0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3796031248772279331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706408635,"filename":"image_15042025_06_33_02_1181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18da2f060509d7302860bd7ad38de9d9.jpg","text":"TemporaryFile(/tmp/multipartBody2246647683895506743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706408635,"filename":"image_15042025_10_37_01_6677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841862","file1":"1349841831","file0":"1349841821","file4":"1349841975","file5":"1349841996","file3":"1349841925"},"map_files_photo_id_array":[{"photo_id":"1349841996","filename":"file5"},{"photo_id":"1349841862","filename":"file2"},{"photo_id":"1349841975","filename":"file4"},{"photo_id":"1349841831","filename":"file1"},{"photo_id":"1349841821","filename":"file0"},{"photo_id":"1349841925","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349841821":["hashtag1","hashtag2"]},{"1349841862":["hashtag1","hashtag2"]},{"1349841925":["hashtag1","hashtag2"]},{"1349841996":["hashtag1","hashtag2"]},{"1349841975":["hashtag1","hashtag2"]},{"1349841831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349841821, 1349841862, 1349841925, 1349841996, 1349841975, 1349841831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.23237419128418 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:41:04.005696
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_02_3473.jpg', 2), ('/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_02_0449.jpg', 2), ('/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg', 2), ('/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg', 2), ('/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', 2), ('/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_02_3473.jpg', '/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_02_0449.jpg', '/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg', '/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg', '/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', '/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_02_3473.jpg
/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_02_0449.jpg
/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg
/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg
/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg
/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.571195840835571 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:42:03.088105
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/43/image_15042025_10_43_01_8032.jpg', 2), ('/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_01_8517.jpg', 2), ('/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_02_3473.jpg', 2), ('/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_02_0449.jpg', 2), ('/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg', 2), ('/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_01_8517.jpg', '/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_02_3473.jpg', '/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_02_0449.jpg', '/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg', '/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_01_8517.jpg
/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_02_3473.jpg
/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_02_0449.jpg
/home/pi/Desktop/images/15042025/06/29/image_15042025_06_29_01_5765.jpg
/home/pi/Desktop/images/15042025/06/28/image_15042025_06_28_01_4492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349842810","1349842782","1349843069","1349842871","1349842946"],"photo_ids_order":["1349842782","1349842810","1349842871","1349842946","1349843069"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b9b25e6585cdd8e3abf315d7557fae0.jpg","text":"TemporaryFile(/tmp/multipartBody4674360258142358573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706586558,"filename":"image_15042025_10_40_02_3473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d4b5146385ed001844428fb7f1754fb.jpg","text":"TemporaryFile(/tmp/multipartBody464154167948478654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706586558,"filename":"image_15042025_10_41_01_8517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bf4676abeca66f00229db5cfb50f312.jpg","text":"TemporaryFile(/tmp/multipartBody1272709598750776434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706586558,"filename":"image_15042025_06_28_01_4492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/667c6c83ccd2bae4093e0a6031ed26f5.jpg","text":"TemporaryFile(/tmp/multipartBody6900178476628013259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706586558,"filename":"image_15042025_10_39_02_0449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87f537172fb4eeeb13ba30da58690fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4901795406520758627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706586558,"filename":"image_15042025_06_29_01_5765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842871","file1":"1349842810","file0":"1349842782","file4":"1349843069","file3":"1349842946"},"map_files_photo_id_array":[{"photo_id":"1349842871","filename":"file2"},{"photo_id":"1349843069","filename":"file4"},{"photo_id":"1349842810","filename":"file1"},{"photo_id":"1349842782","filename":"file0"},{"photo_id":"1349842946","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349842810":["hashtag1","hashtag2"]},{"1349842782":["hashtag1","hashtag2"]},{"1349843069":["hashtag1","hashtag2"]},{"1349842871":["hashtag1","hashtag2"]},{"1349842946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349842810, 1349842782, 1349843069, 1349842871, 1349842946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 63.36825251579285 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/10/43/image_15042025_10_43_01_8032.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:44:02.686661
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_02_2169.jpg', 2), ('/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', 2), ('/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg', 2), ('/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_01_8980.jpg', 2), ('/home/pi/Desktop/images/15042025/06/24/image_15042025_06_24_02_2480.jpg', 2), ('/home/pi/Desktop/images/15042025/06/23/image_15042025_06_23_02_0595.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_02_2169.jpg', '/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg', '/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg', '/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_01_8980.jpg', '/home/pi/Desktop/images/15042025/06/24/image_15042025_06_24_02_2480.jpg', '/home/pi/Desktop/images/15042025/06/23/image_15042025_06_23_02_0595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_02_2169.jpg
/home/pi/Desktop/images/15042025/06/27/image_15042025_06_27_01_9940.jpg
/home/pi/Desktop/images/15042025/06/26/image_15042025_06_26_01_4098.jpg
/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_01_8980.jpg
/home/pi/Desktop/images/15042025/06/24/image_15042025_06_24_02_2480.jpg
/home/pi/Desktop/images/15042025/06/23/image_15042025_06_23_02_0595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843454","1349843379","1349843445","1349843433","1349843477","1349843462"],"photo_ids_order":["1349843379","1349843433","1349843445","1349843454","1349843462","1349843477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea3f0b9c9d361ce68ffb38b47209c56b.jpg","text":"TemporaryFile(/tmp/multipartBody773750173099336093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706707039,"filename":"image_15042025_06_25_01_8980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/976ca1430d00462bf1d6c25ac200da4a.jpg","text":"TemporaryFile(/tmp/multipartBody6994928332687086929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706707039,"filename":"image_15042025_10_42_02_2169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11cdd61260b964497e873c039634a7a3.jpg","text":"TemporaryFile(/tmp/multipartBody5914001713434893814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706707039,"filename":"image_15042025_06_26_01_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76f58bd36b9e65fc68c91254a871beac.jpg","text":"TemporaryFile(/tmp/multipartBody2662630981732282918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706707039,"filename":"image_15042025_06_27_01_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2ba1e6ed17f99035ea2a15e37664c6b.jpg","text":"TemporaryFile(/tmp/multipartBody390838614303780487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706707039,"filename":"image_15042025_06_23_02_0595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffe925fc08d9424015329fd30469287c.jpg","text":"TemporaryFile(/tmp/multipartBody6513711108623581742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706707039,"filename":"image_15042025_06_24_02_2480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843445","file1":"1349843433","file0":"1349843379","file4":"1349843462","file5":"1349843477","file3":"1349843454"},"map_files_photo_id_array":[{"photo_id":"1349843477","filename":"file5"},{"photo_id":"1349843445","filename":"file2"},{"photo_id":"1349843462","filename":"file4"},{"photo_id":"1349843433","filename":"file1"},{"photo_id":"1349843379","filename":"file0"},{"photo_id":"1349843454","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349843454":["hashtag1","hashtag2"]},{"1349843379":["hashtag1","hashtag2"]},{"1349843445":["hashtag1","hashtag2"]},{"1349843433":["hashtag1","hashtag2"]},{"1349843477":["hashtag1","hashtag2"]},{"1349843462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349843454, 1349843379, 1349843445, 1349843433, 1349843477, 1349843462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.186545848846436 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:46:02.569616
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_01_4456.jpg', 2), ('/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_01_9112.jpg', 2), ('/home/pi/Desktop/images/15042025/06/21/image_15042025_06_21_02_0966.jpg', 2), ('/home/pi/Desktop/images/15042025/06/20/image_15042025_06_20_01_3639.jpg', 2), ('/home/pi/Desktop/images/15042025/06/19/image_15042025_06_19_02_0274.jpg', 2), ('/home/pi/Desktop/images/15042025/06/18/image_15042025_06_18_01_9870.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_01_4456.jpg', '/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_01_9112.jpg', '/home/pi/Desktop/images/15042025/06/21/image_15042025_06_21_02_0966.jpg', '/home/pi/Desktop/images/15042025/06/20/image_15042025_06_20_01_3639.jpg', '/home/pi/Desktop/images/15042025/06/19/image_15042025_06_19_02_0274.jpg', '/home/pi/Desktop/images/15042025/06/18/image_15042025_06_18_01_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_01_4456.jpg
/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_01_9112.jpg
/home/pi/Desktop/images/15042025/06/21/image_15042025_06_21_02_0966.jpg
/home/pi/Desktop/images/15042025/06/20/image_15042025_06_20_01_3639.jpg
/home/pi/Desktop/images/15042025/06/19/image_15042025_06_19_02_0274.jpg
/home/pi/Desktop/images/15042025/06/18/image_15042025_06_18_01_9870.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844009","1349843978","1349844113","1349844061","1349844031","1349844025"],"photo_ids_order":["1349843978","1349844009","1349844025","1349844031","1349844061","1349844113"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0d5e3fcd416a4d603e0c192382cc39e.jpg","text":"TemporaryFile(/tmp/multipartBody7989301668850957974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706827097,"filename":"image_15042025_10_44_01_9112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06c0b3e5b34fecd44d1d2d332ae84017.jpg","text":"TemporaryFile(/tmp/multipartBody4134907459828800110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706827097,"filename":"image_15042025_10_45_01_4456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7f8a750461269aba9132bbdc00111f0.jpg","text":"TemporaryFile(/tmp/multipartBody2080814485690651082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706827097,"filename":"image_15042025_06_18_01_9870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64a7746e50cd44defb51aa3154706e25.jpg","text":"TemporaryFile(/tmp/multipartBody2364648460555504294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706827097,"filename":"image_15042025_06_19_02_0274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b10ddbc61c4cb6105733d6756b7d472.jpg","text":"TemporaryFile(/tmp/multipartBody2779246164973130536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706827097,"filename":"image_15042025_06_20_01_3639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59d5c085ae34367346c0d807377e7cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8676589570956764638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706827097,"filename":"image_15042025_06_21_02_0966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844025","file1":"1349844009","file0":"1349843978","file4":"1349844061","file5":"1349844113","file3":"1349844031"},"map_files_photo_id_array":[{"photo_id":"1349844113","filename":"file5"},{"photo_id":"1349844025","filename":"file2"},{"photo_id":"1349844061","filename":"file4"},{"photo_id":"1349844009","filename":"file1"},{"photo_id":"1349843978","filename":"file0"},{"photo_id":"1349844031","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349844009":["hashtag1","hashtag2"]},{"1349843978":["hashtag1","hashtag2"]},{"1349844113":["hashtag1","hashtag2"]},{"1349844061":["hashtag1","hashtag2"]},{"1349844031":["hashtag1","hashtag2"]},{"1349844025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349844009, 1349843978, 1349844113, 1349844061, 1349844031, 1349844025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.82969307899475 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:48:03.467547
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_01_2212.jpg', 2), ('/home/pi/Desktop/images/15042025/10/46/image_15042025_10_46_01_6842.jpg', 2), ('/home/pi/Desktop/images/15042025/06/17/image_15042025_06_17_01_6479.jpg', 2), ('/home/pi/Desktop/images/15042025/06/15/image_15042025_06_15_01_7981.jpg', 2), ('/home/pi/Desktop/images/15042025/06/14/image_15042025_06_14_02_1863.jpg', 2), ('/home/pi/Desktop/images/15042025/06/13/image_15042025_06_13_01_9455.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_01_2212.jpg', '/home/pi/Desktop/images/15042025/10/46/image_15042025_10_46_01_6842.jpg', '/home/pi/Desktop/images/15042025/06/17/image_15042025_06_17_01_6479.jpg', '/home/pi/Desktop/images/15042025/06/15/image_15042025_06_15_01_7981.jpg', '/home/pi/Desktop/images/15042025/06/14/image_15042025_06_14_02_1863.jpg', '/home/pi/Desktop/images/15042025/06/13/image_15042025_06_13_01_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_01_2212.jpg
/home/pi/Desktop/images/15042025/10/46/image_15042025_10_46_01_6842.jpg
/home/pi/Desktop/images/15042025/06/17/image_15042025_06_17_01_6479.jpg
/home/pi/Desktop/images/15042025/06/15/image_15042025_06_15_01_7981.jpg
/home/pi/Desktop/images/15042025/06/14/image_15042025_06_14_02_1863.jpg
/home/pi/Desktop/images/15042025/06/13/image_15042025_06_13_01_9455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844708","1349844599","1349844728","1349844623","1349844613","1349844693"],"photo_ids_order":["1349844599","1349844613","1349844623","1349844693","1349844708","1349844728"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de9a1c09351ce260b69a1240f3e69447.jpg","text":"TemporaryFile(/tmp/multipartBody6945122619475657979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706948159,"filename":"image_15042025_06_14_02_1863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2215a7b1ce35b39eb3008ad3972dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody4382358648632815346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706948159,"filename":"image_15042025_10_47_01_2212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/044a868f38dfa20a2f340d3a430e79d1.jpg","text":"TemporaryFile(/tmp/multipartBody2835291850871383959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706948159,"filename":"image_15042025_06_13_01_9455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f995e344bdd3053e4ddcd4bc64f6f51.jpg","text":"TemporaryFile(/tmp/multipartBody8799160270805760582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706948159,"filename":"image_15042025_06_17_01_6479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d83cab622251c38c1f9624ecec824536.jpg","text":"TemporaryFile(/tmp/multipartBody6440085134248012080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706948159,"filename":"image_15042025_10_46_01_6842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b020b0b7c8efbccae9d4e59fd81b3573.jpg","text":"TemporaryFile(/tmp/multipartBody3458616851394948779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706948159,"filename":"image_15042025_06_15_01_7981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844623","file1":"1349844613","file0":"1349844599","file4":"1349844708","file5":"1349844728","file3":"1349844693"},"map_files_photo_id_array":[{"photo_id":"1349844728","filename":"file5"},{"photo_id":"1349844623","filename":"file2"},{"photo_id":"1349844708","filename":"file4"},{"photo_id":"1349844613","filename":"file1"},{"photo_id":"1349844599","filename":"file0"},{"photo_id":"1349844693","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349844708":["hashtag1","hashtag2"]},{"1349844599":["hashtag1","hashtag2"]},{"1349844728":["hashtag1","hashtag2"]},{"1349844623":["hashtag1","hashtag2"]},{"1349844613":["hashtag1","hashtag2"]},{"1349844693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349844708, 1349844599, 1349844728, 1349844623, 1349844613, 1349844693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.76839876174927 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:50:03.289741
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/49/image_15042025_10_49_02_1860.jpg', 2), ('/home/pi/Desktop/images/15042025/10/48/image_15042025_10_48_01_5863.jpg', 2), ('/home/pi/Desktop/images/15042025/06/12/image_15042025_06_12_02_0356.jpg', 2), ('/home/pi/Desktop/images/15042025/06/11/image_15042025_06_11_01_8965.jpg', 2), ('/home/pi/Desktop/images/15042025/06/10/image_15042025_06_10_01_4337.jpg', 2), ('/home/pi/Desktop/images/15042025/06/09/image_15042025_06_09_02_1477.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/49/image_15042025_10_49_02_1860.jpg', '/home/pi/Desktop/images/15042025/10/48/image_15042025_10_48_01_5863.jpg', '/home/pi/Desktop/images/15042025/06/12/image_15042025_06_12_02_0356.jpg', '/home/pi/Desktop/images/15042025/06/11/image_15042025_06_11_01_8965.jpg', '/home/pi/Desktop/images/15042025/06/10/image_15042025_06_10_01_4337.jpg', '/home/pi/Desktop/images/15042025/06/09/image_15042025_06_09_02_1477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/49/image_15042025_10_49_02_1860.jpg
/home/pi/Desktop/images/15042025/10/48/image_15042025_10_48_01_5863.jpg
/home/pi/Desktop/images/15042025/06/12/image_15042025_06_12_02_0356.jpg
/home/pi/Desktop/images/15042025/06/11/image_15042025_06_11_01_8965.jpg
/home/pi/Desktop/images/15042025/06/10/image_15042025_06_10_01_4337.jpg
/home/pi/Desktop/images/15042025/06/09/image_15042025_06_09_02_1477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845017","1349845085","1349845054","1349845024","1349845068","1349845032"],"photo_ids_order":["1349845017","1349845024","1349845032","1349845054","1349845068","1349845085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35743623313767b4864d297465a3affb.jpg","text":"TemporaryFile(/tmp/multipartBody928331511195346626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707067804,"filename":"image_15042025_10_49_02_1860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ae06fb3ffe6df2b741e7721fa1c2ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4085536341911354707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707067804,"filename":"image_15042025_06_09_02_1477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a2840cb298282b98ffb42484c8e86b6.jpg","text":"TemporaryFile(/tmp/multipartBody1773739887331597959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707067804,"filename":"image_15042025_06_11_01_8965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d08855ed14003daf70a4dc6573acbf02.jpg","text":"TemporaryFile(/tmp/multipartBody6538557493143262897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707067804,"filename":"image_15042025_10_48_01_5863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42898689a081f884670f8171d3bd2b17.jpg","text":"TemporaryFile(/tmp/multipartBody6064091446903895549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707067804,"filename":"image_15042025_06_10_01_4337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a507ded8023468b8a1dfca213d0f9fba.jpg","text":"TemporaryFile(/tmp/multipartBody125982300834329524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707067804,"filename":"image_15042025_06_12_02_0356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845032","file1":"1349845024","file0":"1349845017","file4":"1349845068","file5":"1349845085","file3":"1349845054"},"map_files_photo_id_array":[{"photo_id":"1349845085","filename":"file5"},{"photo_id":"1349845032","filename":"file2"},{"photo_id":"1349845068","filename":"file4"},{"photo_id":"1349845024","filename":"file1"},{"photo_id":"1349845017","filename":"file0"},{"photo_id":"1349845054","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349845017":["hashtag1","hashtag2"]},{"1349845085":["hashtag1","hashtag2"]},{"1349845054":["hashtag1","hashtag2"]},{"1349845024":["hashtag1","hashtag2"]},{"1349845068":["hashtag1","hashtag2"]},{"1349845032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349845017, 1349845085, 1349845054, 1349845024, 1349845068, 1349845032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.08288598060608 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:52:03.126223
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/51/image_15042025_10_51_01_9304.jpg', 2), ('/home/pi/Desktop/images/15042025/10/50/image_15042025_10_50_01_5248.jpg', 2), ('/home/pi/Desktop/images/15042025/06/08/image_15042025_06_08_01_5471.jpg', 2), ('/home/pi/Desktop/images/15042025/06/04/image_15042025_06_04_02_1989.jpg', 2), ('/home/pi/Desktop/images/15042025/06/03/image_15042025_06_03_01_8629.jpg', 2), ('/home/pi/Desktop/images/15042025/06/02/image_15042025_06_02_01_3968.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/51/image_15042025_10_51_01_9304.jpg', '/home/pi/Desktop/images/15042025/10/50/image_15042025_10_50_01_5248.jpg', '/home/pi/Desktop/images/15042025/06/08/image_15042025_06_08_01_5471.jpg', '/home/pi/Desktop/images/15042025/06/04/image_15042025_06_04_02_1989.jpg', '/home/pi/Desktop/images/15042025/06/03/image_15042025_06_03_01_8629.jpg', '/home/pi/Desktop/images/15042025/06/02/image_15042025_06_02_01_3968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/51/image_15042025_10_51_01_9304.jpg
/home/pi/Desktop/images/15042025/10/50/image_15042025_10_50_01_5248.jpg
/home/pi/Desktop/images/15042025/06/08/image_15042025_06_08_01_5471.jpg
/home/pi/Desktop/images/15042025/06/04/image_15042025_06_04_02_1989.jpg
/home/pi/Desktop/images/15042025/06/03/image_15042025_06_03_01_8629.jpg
/home/pi/Desktop/images/15042025/06/02/image_15042025_06_02_01_3968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845352","1349845337","1349845319","1349845328","1349845307","1349845432"],"photo_ids_order":["1349845307","1349845319","1349845328","1349845337","1349845352","1349845432"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b243067ee631eb088a192105872229f.jpg","text":"TemporaryFile(/tmp/multipartBody934134656009821244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707187843,"filename":"image_15042025_06_03_01_8629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f576286aa6081297eeaa77ba5fd31aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1359917595016323473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707187843,"filename":"image_15042025_06_04_02_1989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8e45214adb84439198e81d83dcb3d7b.jpg","text":"TemporaryFile(/tmp/multipartBody7016956871925726715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707187843,"filename":"image_15042025_10_50_01_5248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/133bfbb439b141371744aa21dde3964f.jpg","text":"TemporaryFile(/tmp/multipartBody3696810677070222702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707187843,"filename":"image_15042025_06_08_01_5471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd40a6f76ed05a3e53a779174e9056ca.jpg","text":"TemporaryFile(/tmp/multipartBody7087718555783687284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707187843,"filename":"image_15042025_10_51_01_9304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86a5e6a9ce309a65bddee85161a82bf9.jpg","text":"TemporaryFile(/tmp/multipartBody8049105338244195295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707187843,"filename":"image_15042025_06_02_01_3968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845328","file1":"1349845319","file0":"1349845307","file4":"1349845352","file5":"1349845432","file3":"1349845337"},"map_files_photo_id_array":[{"photo_id":"1349845432","filename":"file5"},{"photo_id":"1349845328","filename":"file2"},{"photo_id":"1349845352","filename":"file4"},{"photo_id":"1349845319","filename":"file1"},{"photo_id":"1349845307","filename":"file0"},{"photo_id":"1349845337","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349845352":["hashtag1","hashtag2"]},{"1349845337":["hashtag1","hashtag2"]},{"1349845319":["hashtag1","hashtag2"]},{"1349845328":["hashtag1","hashtag2"]},{"1349845307":["hashtag1","hashtag2"]},{"1349845432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349845352, 1349845337, 1349845319, 1349845328, 1349845307, 1349845432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.92940425872803 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:54:02.929604
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/53/image_15042025_10_53_01_7709.jpg', 2), ('/home/pi/Desktop/images/15042025/10/52/image_15042025_10_52_01_2820.jpg', 2), ('/home/pi/Desktop/images/15042025/06/01/image_15042025_06_01_02_2476.jpg', 2), ('/home/pi/Desktop/images/15042025/06/00/image_15042025_06_00_01_4134.jpg', 2), ('/home/pi/Desktop/images/15042025/05/52/image_15042025_05_52_01_8168.jpg', 2), ('/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/53/image_15042025_10_53_01_7709.jpg', '/home/pi/Desktop/images/15042025/10/52/image_15042025_10_52_01_2820.jpg', '/home/pi/Desktop/images/15042025/06/01/image_15042025_06_01_02_2476.jpg', '/home/pi/Desktop/images/15042025/06/00/image_15042025_06_00_01_4134.jpg', '/home/pi/Desktop/images/15042025/05/52/image_15042025_05_52_01_8168.jpg', '/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/53/image_15042025_10_53_01_7709.jpg
/home/pi/Desktop/images/15042025/10/52/image_15042025_10_52_01_2820.jpg
/home/pi/Desktop/images/15042025/06/01/image_15042025_06_01_02_2476.jpg
/home/pi/Desktop/images/15042025/06/00/image_15042025_06_00_01_4134.jpg
/home/pi/Desktop/images/15042025/05/52/image_15042025_05_52_01_8168.jpg
/home/pi/Desktop/images/15042025/05/51/image_15042025_05_51_01_5210.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845595","1349845541","1349845607","1349845582","1349845575","1349845554"],"photo_ids_order":["1349845541","1349845554","1349845575","1349845582","1349845595","1349845607"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa185e8246b4eda3ab91091f7bbb3af4.jpg","text":"TemporaryFile(/tmp/multipartBody7657185739180782793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707307633,"filename":"image_15042025_05_52_01_8168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b97f45afcb86ee81ce204a614fa44dd5.jpg","text":"TemporaryFile(/tmp/multipartBody5655107811222003950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707307633,"filename":"image_15042025_10_53_01_7709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5af68b5fea99d13108d9d78413cd134.jpg","text":"TemporaryFile(/tmp/multipartBody1934961834145145356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707307633,"filename":"image_15042025_05_51_01_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4ec5343f8b530fff2fdc05a0e6bcc08.jpg","text":"TemporaryFile(/tmp/multipartBody3751920190158914990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707307633,"filename":"image_15042025_06_00_01_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e5cff55922fa6a76d5889eba18e6ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4038173808121880008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707307633,"filename":"image_15042025_06_01_02_2476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/308ee38f91cf3a9a102f8c745f06c70d.jpg","text":"TemporaryFile(/tmp/multipartBody7566276502029870927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707307633,"filename":"image_15042025_10_52_01_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845575","file1":"1349845554","file0":"1349845541","file4":"1349845595","file5":"1349845607","file3":"1349845582"},"map_files_photo_id_array":[{"photo_id":"1349845607","filename":"file5"},{"photo_id":"1349845575","filename":"file2"},{"photo_id":"1349845595","filename":"file4"},{"photo_id":"1349845554","filename":"file1"},{"photo_id":"1349845541","filename":"file0"},{"photo_id":"1349845582","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349845595":["hashtag1","hashtag2"]},{"1349845541":["hashtag1","hashtag2"]},{"1349845607":["hashtag1","hashtag2"]},{"1349845582":["hashtag1","hashtag2"]},{"1349845575":["hashtag1","hashtag2"]},{"1349845554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349845595, 1349845541, 1349845607, 1349845582, 1349845575, 1349845554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.29213428497314 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:56:02.719261
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/55/image_15042025_10_55_01_5582.jpg', 2), ('/home/pi/Desktop/images/15042025/10/54/image_15042025_10_54_02_0662.jpg', 2), ('/home/pi/Desktop/images/15042025/05/50/image_15042025_05_50_01_8780.jpg', 2), ('/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg', 2), ('/home/pi/Desktop/images/15042025/05/48/image_15042025_05_48_01_2681.jpg', 2), ('/home/pi/Desktop/images/15042025/05/44/image_15042025_05_44_01_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/55/image_15042025_10_55_01_5582.jpg', '/home/pi/Desktop/images/15042025/10/54/image_15042025_10_54_02_0662.jpg', '/home/pi/Desktop/images/15042025/05/50/image_15042025_05_50_01_8780.jpg', '/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg', '/home/pi/Desktop/images/15042025/05/48/image_15042025_05_48_01_2681.jpg', '/home/pi/Desktop/images/15042025/05/44/image_15042025_05_44_01_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/55/image_15042025_10_55_01_5582.jpg
/home/pi/Desktop/images/15042025/10/54/image_15042025_10_54_02_0662.jpg
/home/pi/Desktop/images/15042025/05/50/image_15042025_05_50_01_8780.jpg
/home/pi/Desktop/images/15042025/05/49/image_15042025_05_49_02_0984.jpg
/home/pi/Desktop/images/15042025/05/48/image_15042025_05_48_01_2681.jpg
/home/pi/Desktop/images/15042025/05/44/image_15042025_05_44_01_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845809","1349845745","1349845999","1349846079","1349845872","1349845932"],"photo_ids_order":["1349845745","1349845809","1349845872","1349845932","1349845999","1349846079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faac063d79f0579341523eb0c32814dc.jpg","text":"TemporaryFile(/tmp/multipartBody7991322486520174530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707427242,"filename":"image_15042025_10_54_02_0662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb75ba1b2a25cf15ae460ba4cc102e8d.jpg","text":"TemporaryFile(/tmp/multipartBody587434848174682270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707427242,"filename":"image_15042025_10_55_01_5582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb5dc610de266be036d1af97eeb2f54f.jpg","text":"TemporaryFile(/tmp/multipartBody8869268193220127704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707427242,"filename":"image_15042025_05_48_01_2681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf2fa91c29511abaef70c93f57ff66f1.jpg","text":"TemporaryFile(/tmp/multipartBody8178306881278352761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707427242,"filename":"image_15042025_05_44_01_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4afa7564c49e3d5a59f7febadbb0fb31.jpg","text":"TemporaryFile(/tmp/multipartBody7541995792510424169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707427242,"filename":"image_15042025_05_50_01_8780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c0715a06fade3e4ad2ecd4fdf9c75dd.jpg","text":"TemporaryFile(/tmp/multipartBody2624416712081708265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707427242,"filename":"image_15042025_05_49_02_0984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845872","file1":"1349845809","file0":"1349845745","file4":"1349845999","file5":"1349846079","file3":"1349845932"},"map_files_photo_id_array":[{"photo_id":"1349846079","filename":"file5"},{"photo_id":"1349845872","filename":"file2"},{"photo_id":"1349845999","filename":"file4"},{"photo_id":"1349845809","filename":"file1"},{"photo_id":"1349845745","filename":"file0"},{"photo_id":"1349845932","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349845809":["hashtag1","hashtag2"]},{"1349845745":["hashtag1","hashtag2"]},{"1349845999":["hashtag1","hashtag2"]},{"1349846079":["hashtag1","hashtag2"]},{"1349845872":["hashtag1","hashtag2"]},{"1349845932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349845809, 1349845745, 1349845999, 1349846079, 1349845872, 1349845932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.2163290977478 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 10:59:03.218578
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_01_7095.jpg', 2), ('/home/pi/Desktop/images/15042025/10/57/image_15042025_10_57_01_3276.jpg', 2), ('/home/pi/Desktop/images/15042025/10/56/image_15042025_10_56_01_8064.jpg', 2), ('/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', 2), ('/home/pi/Desktop/images/15042025/05/42/image_15042025_05_42_01_7253.jpg', 2), ('/home/pi/Desktop/images/15042025/05/41/image_15042025_05_41_01_3629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_01_7095.jpg', '/home/pi/Desktop/images/15042025/10/57/image_15042025_10_57_01_3276.jpg', '/home/pi/Desktop/images/15042025/10/56/image_15042025_10_56_01_8064.jpg', '/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg', '/home/pi/Desktop/images/15042025/05/42/image_15042025_05_42_01_7253.jpg', '/home/pi/Desktop/images/15042025/05/41/image_15042025_05_41_01_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_01_7095.jpg
/home/pi/Desktop/images/15042025/10/57/image_15042025_10_57_01_3276.jpg
/home/pi/Desktop/images/15042025/10/56/image_15042025_10_56_01_8064.jpg
/home/pi/Desktop/images/15042025/05/43/image_15042025_05_43_01_5172.jpg
/home/pi/Desktop/images/15042025/05/42/image_15042025_05_42_01_7253.jpg
/home/pi/Desktop/images/15042025/05/41/image_15042025_05_41_01_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349848222","1349847394","1349847604","1349848113","1349847756","1349847881"],"photo_ids_order":["1349847394","1349847604","1349847756","1349847881","1349848113","1349848222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d6bb6614d1afed2ef885ef92d598df0.jpg","text":"TemporaryFile(/tmp/multipartBody8470805461532226864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707607729,"filename":"image_15042025_05_41_01_3629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30e328c35f668f5fef5609e343b65777.jpg","text":"TemporaryFile(/tmp/multipartBody4144776811427015305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707607729,"filename":"image_15042025_10_58_01_7095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0586646d404df305e089716e80dbead6.jpg","text":"TemporaryFile(/tmp/multipartBody1961853309273479823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707607729,"filename":"image_15042025_10_57_01_3276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/851f629f8562cfc6464bf9240cc493a5.jpg","text":"TemporaryFile(/tmp/multipartBody7735325225619593515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707607729,"filename":"image_15042025_05_42_01_7253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e601669124cbf8e0d496bb9114928d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6114101360356539920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707607729,"filename":"image_15042025_10_56_01_8064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63f8d7a790f45a7e14300c59569d2cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5095611913757810990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707607729,"filename":"image_15042025_05_43_01_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349847756","file1":"1349847604","file0":"1349847394","file4":"1349848113","file5":"1349848222","file3":"1349847881"},"map_files_photo_id_array":[{"photo_id":"1349848222","filename":"file5"},{"photo_id":"1349847756","filename":"file2"},{"photo_id":"1349848113","filename":"file4"},{"photo_id":"1349847604","filename":"file1"},{"photo_id":"1349847394","filename":"file0"},{"photo_id":"1349847881","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349848222":["hashtag1","hashtag2"]},{"1349847394":["hashtag1","hashtag2"]},{"1349847604":["hashtag1","hashtag2"]},{"1349848113":["hashtag1","hashtag2"]},{"1349847756":["hashtag1","hashtag2"]},{"1349847881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349848222, 1349847394, 1349847604, 1349848113, 1349847756, 1349847881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.6202962398529 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:01:03.365728
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/00/image_15042025_11_00_01_4684.jpg', 2), ('/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_02_1579.jpg', 2), ('/home/pi/Desktop/images/15042025/05/40/image_15042025_05_40_01_8717.jpg', 2), ('/home/pi/Desktop/images/15042025/05/39/image_15042025_05_39_01_3930.jpg', 2), ('/home/pi/Desktop/images/15042025/05/38/image_15042025_05_38_01_3389.jpg', 2), ('/home/pi/Desktop/images/15042025/05/36/image_15042025_05_36_02_1579.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/00/image_15042025_11_00_01_4684.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_02_1579.jpg', '/home/pi/Desktop/images/15042025/05/40/image_15042025_05_40_01_8717.jpg', '/home/pi/Desktop/images/15042025/05/39/image_15042025_05_39_01_3930.jpg', '/home/pi/Desktop/images/15042025/05/38/image_15042025_05_38_01_3389.jpg', '/home/pi/Desktop/images/15042025/05/36/image_15042025_05_36_02_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/00/image_15042025_11_00_01_4684.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_02_1579.jpg
/home/pi/Desktop/images/15042025/05/40/image_15042025_05_40_01_8717.jpg
/home/pi/Desktop/images/15042025/05/39/image_15042025_05_39_01_3930.jpg
/home/pi/Desktop/images/15042025/05/38/image_15042025_05_38_01_3389.jpg
/home/pi/Desktop/images/15042025/05/36/image_15042025_05_36_02_1579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849149","1349848972","1349849232","1349849078","1349848898","1349849408"],"photo_ids_order":["1349848898","1349848972","1349849078","1349849149","1349849232","1349849408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b92307b8b867ca777c417d402bd10a85.jpg","text":"TemporaryFile(/tmp/multipartBody2329622381237926410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707727955,"filename":"image_15042025_05_39_01_3930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab2c335bdf421a7517e745a993b8e88a.jpg","text":"TemporaryFile(/tmp/multipartBody3925210478363185348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707727955,"filename":"image_15042025_10_59_02_1579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dd31df211a7add60e6cb96e1b61342f.jpg","text":"TemporaryFile(/tmp/multipartBody801664653785247064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707727955,"filename":"image_15042025_05_38_01_3389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/585cbffa47f2b5716f30975e4ea5850b.jpg","text":"TemporaryFile(/tmp/multipartBody4629105480316838022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707727955,"filename":"image_15042025_05_40_01_8717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1439fd1bcaf9842df662de0ce6c188c6.jpg","text":"TemporaryFile(/tmp/multipartBody3401408528915841298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707727955,"filename":"image_15042025_11_00_01_4684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cee5df4a39b840fdc4d647c04471c29.jpg","text":"TemporaryFile(/tmp/multipartBody9030405083362387504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707727955,"filename":"image_15042025_05_36_02_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849078","file1":"1349848972","file0":"1349848898","file4":"1349849232","file5":"1349849408","file3":"1349849149"},"map_files_photo_id_array":[{"photo_id":"1349849408","filename":"file5"},{"photo_id":"1349849078","filename":"file2"},{"photo_id":"1349849232","filename":"file4"},{"photo_id":"1349848972","filename":"file1"},{"photo_id":"1349848898","filename":"file0"},{"photo_id":"1349849149","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349849149":["hashtag1","hashtag2"]},{"1349848972":["hashtag1","hashtag2"]},{"1349849232":["hashtag1","hashtag2"]},{"1349849078":["hashtag1","hashtag2"]},{"1349848898":["hashtag1","hashtag2"]},{"1349849408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349849149, 1349848972, 1349849232, 1349849078, 1349848898, 1349849408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.82785630226135 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:03:03.281041
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_01_3778.jpg', 2), ('/home/pi/Desktop/images/15042025/11/01/image_15042025_11_01_02_2059.jpg', 2), ('/home/pi/Desktop/images/15042025/05/35/image_15042025_05_35_01_9578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/34/image_15042025_05_34_02_0762.jpg', 2), ('/home/pi/Desktop/images/15042025/05/33/image_15042025_05_33_02_1706.jpg', 2), ('/home/pi/Desktop/images/15042025/05/32/image_15042025_05_32_01_5220.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_01_3778.jpg', '/home/pi/Desktop/images/15042025/11/01/image_15042025_11_01_02_2059.jpg', '/home/pi/Desktop/images/15042025/05/35/image_15042025_05_35_01_9578.jpg', '/home/pi/Desktop/images/15042025/05/34/image_15042025_05_34_02_0762.jpg', '/home/pi/Desktop/images/15042025/05/33/image_15042025_05_33_02_1706.jpg', '/home/pi/Desktop/images/15042025/05/32/image_15042025_05_32_01_5220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_01_3778.jpg
/home/pi/Desktop/images/15042025/11/01/image_15042025_11_01_02_2059.jpg
/home/pi/Desktop/images/15042025/05/35/image_15042025_05_35_01_9578.jpg
/home/pi/Desktop/images/15042025/05/34/image_15042025_05_34_02_0762.jpg
/home/pi/Desktop/images/15042025/05/33/image_15042025_05_33_02_1706.jpg
/home/pi/Desktop/images/15042025/05/32/image_15042025_05_32_01_5220.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849981","1349849792","1349849993","1349849950","1349849926","1349849854"],"photo_ids_order":["1349849792","1349849854","1349849926","1349849950","1349849981","1349849993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4bb6c12af10c3f036e0d89bea6dfdb6.jpg","text":"TemporaryFile(/tmp/multipartBody2971845616891721015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707847856,"filename":"image_15042025_05_33_02_1706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fcd52f51513118506c0543eb9b28bfb.jpg","text":"TemporaryFile(/tmp/multipartBody4949748356075340548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707847856,"filename":"image_15042025_11_02_01_3778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7762a01efdb1f6964bb4bb20f630eca5.jpg","text":"TemporaryFile(/tmp/multipartBody3165110563235461648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707847856,"filename":"image_15042025_05_32_01_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbff1a4c858e4d3698fac17a3a59cb7d.jpg","text":"TemporaryFile(/tmp/multipartBody7486966074606332843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707847856,"filename":"image_15042025_05_34_02_0762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5466607c6af68b2437518d738e8dd9f0.jpg","text":"TemporaryFile(/tmp/multipartBody991155417662114237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707847856,"filename":"image_15042025_05_35_01_9578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/963ffbc060addbaaaccc061d9b1ceda4.jpg","text":"TemporaryFile(/tmp/multipartBody8883395379369873074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707847856,"filename":"image_15042025_11_01_02_2059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849926","file1":"1349849854","file0":"1349849792","file4":"1349849981","file5":"1349849993","file3":"1349849950"},"map_files_photo_id_array":[{"photo_id":"1349849993","filename":"file5"},{"photo_id":"1349849926","filename":"file2"},{"photo_id":"1349849981","filename":"file4"},{"photo_id":"1349849854","filename":"file1"},{"photo_id":"1349849792","filename":"file0"},{"photo_id":"1349849950","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349849981":["hashtag1","hashtag2"]},{"1349849792":["hashtag1","hashtag2"]},{"1349849993":["hashtag1","hashtag2"]},{"1349849950":["hashtag1","hashtag2"]},{"1349849926":["hashtag1","hashtag2"]},{"1349849854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349849981, 1349849792, 1349849993, 1349849950, 1349849926, 1349849854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.38580131530762 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:05:03.363493
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/04/image_15042025_11_04_01_5878.jpg', 2), ('/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_01_3060.jpg', 2), ('/home/pi/Desktop/images/15042025/05/31/image_15042025_05_31_01_3158.jpg', 2), ('/home/pi/Desktop/images/15042025/05/30/image_15042025_05_30_01_6601.jpg', 2), ('/home/pi/Desktop/images/15042025/05/29/image_15042025_05_29_01_4764.jpg', 2), ('/home/pi/Desktop/images/15042025/05/26/image_15042025_05_26_01_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/04/image_15042025_11_04_01_5878.jpg', '/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_01_3060.jpg', '/home/pi/Desktop/images/15042025/05/31/image_15042025_05_31_01_3158.jpg', '/home/pi/Desktop/images/15042025/05/30/image_15042025_05_30_01_6601.jpg', '/home/pi/Desktop/images/15042025/05/29/image_15042025_05_29_01_4764.jpg', '/home/pi/Desktop/images/15042025/05/26/image_15042025_05_26_01_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/04/image_15042025_11_04_01_5878.jpg
/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_01_3060.jpg
/home/pi/Desktop/images/15042025/05/31/image_15042025_05_31_01_3158.jpg
/home/pi/Desktop/images/15042025/05/30/image_15042025_05_30_01_6601.jpg
/home/pi/Desktop/images/15042025/05/29/image_15042025_05_29_01_4764.jpg
/home/pi/Desktop/images/15042025/05/26/image_15042025_05_26_01_9717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349850343","1349850139","1349850304","1349850525","1349850149","1349850391"],"photo_ids_order":["1349850139","1349850149","1349850304","1349850343","1349850391","1349850525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4449fa3932929cdd6099068ec88cc078.jpg","text":"TemporaryFile(/tmp/multipartBody7563481473488233256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707967842,"filename":"image_15042025_05_30_01_6601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9133224896e90e1760b2cb4db437a5af.jpg","text":"TemporaryFile(/tmp/multipartBody2249425050407056285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707967842,"filename":"image_15042025_11_04_01_5878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c322722e93ab5a2709ec6b9e272076a.jpg","text":"TemporaryFile(/tmp/multipartBody7614346558553758350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707967842,"filename":"image_15042025_05_31_01_3158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3cb6de41ff56c480201fa507ce7cdc7.jpg","text":"TemporaryFile(/tmp/multipartBody2550369790462640291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707967842,"filename":"image_15042025_05_26_01_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3ddb3bf8cf300f98e9c8e6bf453c37d.jpg","text":"TemporaryFile(/tmp/multipartBody3705921754127279011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707967842,"filename":"image_15042025_11_03_01_3060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0bd114392ec3f21f1d3ef3bb0632345.jpg","text":"TemporaryFile(/tmp/multipartBody2453646204634756668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707967842,"filename":"image_15042025_05_29_01_4764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850304","file1":"1349850149","file0":"1349850139","file4":"1349850391","file5":"1349850525","file3":"1349850343"},"map_files_photo_id_array":[{"photo_id":"1349850525","filename":"file5"},{"photo_id":"1349850304","filename":"file2"},{"photo_id":"1349850391","filename":"file4"},{"photo_id":"1349850149","filename":"file1"},{"photo_id":"1349850139","filename":"file0"},{"photo_id":"1349850343","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349850343":["hashtag1","hashtag2"]},{"1349850139":["hashtag1","hashtag2"]},{"1349850304":["hashtag1","hashtag2"]},{"1349850525":["hashtag1","hashtag2"]},{"1349850149":["hashtag1","hashtag2"]},{"1349850391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349850343, 1349850139, 1349850304, 1349850525, 1349850149, 1349850391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.75513768196106 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:07:03.154289
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_01_4266.jpg', 2), ('/home/pi/Desktop/images/15042025/05/25/image_15042025_05_25_02_0805.jpg', 2), ('/home/pi/Desktop/images/15042025/05/24/image_15042025_05_24_02_2577.jpg', 2), ('/home/pi/Desktop/images/15042025/05/23/image_15042025_05_23_01_9747.jpg', 2), ('/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_01_4998.jpg', 2), ('/home/pi/Desktop/images/15042025/05/21/image_15042025_05_21_02_2458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_01_4266.jpg', '/home/pi/Desktop/images/15042025/05/25/image_15042025_05_25_02_0805.jpg', '/home/pi/Desktop/images/15042025/05/24/image_15042025_05_24_02_2577.jpg', '/home/pi/Desktop/images/15042025/05/23/image_15042025_05_23_01_9747.jpg', '/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_01_4998.jpg', '/home/pi/Desktop/images/15042025/05/21/image_15042025_05_21_02_2458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_01_4266.jpg
/home/pi/Desktop/images/15042025/05/25/image_15042025_05_25_02_0805.jpg
/home/pi/Desktop/images/15042025/05/24/image_15042025_05_24_02_2577.jpg
/home/pi/Desktop/images/15042025/05/23/image_15042025_05_23_01_9747.jpg
/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_01_4998.jpg
/home/pi/Desktop/images/15042025/05/21/image_15042025_05_21_02_2458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349851336","1349851269","1349851221","1349851209","1349851203","1349851240"],"photo_ids_order":["1349851203","1349851209","1349851221","1349851240","1349851269","1349851336"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a77d58e170c4a3a20bd96a55f242321f.jpg","text":"TemporaryFile(/tmp/multipartBody1574292399596904115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708088011,"filename":"image_15042025_05_21_02_2458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dc1b889513e709c092c3f190b13f9ba.jpg","text":"TemporaryFile(/tmp/multipartBody3010057496694639072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708088011,"filename":"image_15042025_05_22_01_4998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22b851236f0c70e320fa1b932b06f614.jpg","text":"TemporaryFile(/tmp/multipartBody2295972123736401229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708088011,"filename":"image_15042025_05_24_02_2577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4e62239d049289e87a1f9a5fbeea4e1.jpg","text":"TemporaryFile(/tmp/multipartBody1873166589679406467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708088011,"filename":"image_15042025_05_25_02_0805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f6a903eb0692bb8caef43c114438b06.jpg","text":"TemporaryFile(/tmp/multipartBody3187040185935074524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708088011,"filename":"image_15042025_11_05_01_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16eea0ecbc8aaaacc7c30842e55f843e.jpg","text":"TemporaryFile(/tmp/multipartBody4150519616172656828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708088011,"filename":"image_15042025_05_23_01_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851221","file1":"1349851209","file0":"1349851203","file4":"1349851269","file5":"1349851336","file3":"1349851240"},"map_files_photo_id_array":[{"photo_id":"1349851336","filename":"file5"},{"photo_id":"1349851221","filename":"file2"},{"photo_id":"1349851269","filename":"file4"},{"photo_id":"1349851209","filename":"file1"},{"photo_id":"1349851203","filename":"file0"},{"photo_id":"1349851240","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349851336":["hashtag1","hashtag2"]},{"1349851269":["hashtag1","hashtag2"]},{"1349851221":["hashtag1","hashtag2"]},{"1349851209":["hashtag1","hashtag2"]},{"1349851203":["hashtag1","hashtag2"]},{"1349851240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349851336, 1349851269, 1349851221, 1349851209, 1349851203, 1349851240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.429550886154175 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:09:03.174206
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_01_4519.jpg', 2), ('/home/pi/Desktop/images/15042025/11/07/image_15042025_11_07_01_3129.jpg', 2), ('/home/pi/Desktop/images/15042025/05/19/image_15042025_05_19_01_6124.jpg', 2), ('/home/pi/Desktop/images/15042025/05/18/image_15042025_05_18_01_5218.jpg', 2), ('/home/pi/Desktop/images/15042025/05/17/image_15042025_05_17_02_2115.jpg', 2), ('/home/pi/Desktop/images/15042025/05/16/image_15042025_05_16_01_6000.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_01_4519.jpg', '/home/pi/Desktop/images/15042025/11/07/image_15042025_11_07_01_3129.jpg', '/home/pi/Desktop/images/15042025/05/19/image_15042025_05_19_01_6124.jpg', '/home/pi/Desktop/images/15042025/05/18/image_15042025_05_18_01_5218.jpg', '/home/pi/Desktop/images/15042025/05/17/image_15042025_05_17_02_2115.jpg', '/home/pi/Desktop/images/15042025/05/16/image_15042025_05_16_01_6000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_01_4519.jpg
/home/pi/Desktop/images/15042025/11/07/image_15042025_11_07_01_3129.jpg
/home/pi/Desktop/images/15042025/05/19/image_15042025_05_19_01_6124.jpg
/home/pi/Desktop/images/15042025/05/18/image_15042025_05_18_01_5218.jpg
/home/pi/Desktop/images/15042025/05/17/image_15042025_05_17_02_2115.jpg
/home/pi/Desktop/images/15042025/05/16/image_15042025_05_16_01_6000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852016","1349852270","1349852197","1349852098","1349852353","1349851927"],"photo_ids_order":["1349851927","1349852016","1349852098","1349852197","1349852270","1349852353"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9c102b09aa820708bb8332539e5a67d.jpg","text":"TemporaryFile(/tmp/multipartBody3438294239980509714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708207861,"filename":"image_15042025_11_07_01_3129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc9ab67b3922879c5d67b31f7be97769.jpg","text":"TemporaryFile(/tmp/multipartBody7948703471857250363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708207861,"filename":"image_15042025_05_17_02_2115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/995e4b2ddde60786d306a0a1df428424.jpg","text":"TemporaryFile(/tmp/multipartBody3753753158647966757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708207861,"filename":"image_15042025_05_18_01_5218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/149b75193f0ec83e7e178b4e4fa2ffa4.jpg","text":"TemporaryFile(/tmp/multipartBody8050723395426813643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708207861,"filename":"image_15042025_05_19_01_6124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/044c291d2f7b0ad047bbf76df9538dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7510536497260913779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708207861,"filename":"image_15042025_05_16_01_6000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a79388ea9f50c3c95671878b5323e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5145894006051204350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708207861,"filename":"image_15042025_11_08_01_4519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852098","file1":"1349852016","file0":"1349851927","file4":"1349852270","file5":"1349852353","file3":"1349852197"},"map_files_photo_id_array":[{"photo_id":"1349852353","filename":"file5"},{"photo_id":"1349852098","filename":"file2"},{"photo_id":"1349852270","filename":"file4"},{"photo_id":"1349852016","filename":"file1"},{"photo_id":"1349851927","filename":"file0"},{"photo_id":"1349852197","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349852016":["hashtag1","hashtag2"]},{"1349852270":["hashtag1","hashtag2"]},{"1349852197":["hashtag1","hashtag2"]},{"1349852098":["hashtag1","hashtag2"]},{"1349852353":["hashtag1","hashtag2"]},{"1349851927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349852016, 1349852270, 1349852197, 1349852098, 1349852353, 1349851927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.78214240074158 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:11:03.283799
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/10/image_15042025_11_10_01_3911.jpg', 2), ('/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_02_2081.jpg', 2), ('/home/pi/Desktop/images/15042025/05/15/image_15042025_05_15_01_4408.jpg', 2), ('/home/pi/Desktop/images/15042025/05/14/image_15042025_05_14_01_7396.jpg', 2), ('/home/pi/Desktop/images/15042025/05/13/image_15042025_05_13_01_4141.jpg', 2), ('/home/pi/Desktop/images/15042025/05/11/image_15042025_05_11_01_4511.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/10/image_15042025_11_10_01_3911.jpg', '/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_02_2081.jpg', '/home/pi/Desktop/images/15042025/05/15/image_15042025_05_15_01_4408.jpg', '/home/pi/Desktop/images/15042025/05/14/image_15042025_05_14_01_7396.jpg', '/home/pi/Desktop/images/15042025/05/13/image_15042025_05_13_01_4141.jpg', '/home/pi/Desktop/images/15042025/05/11/image_15042025_05_11_01_4511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/10/image_15042025_11_10_01_3911.jpg
/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_02_2081.jpg
/home/pi/Desktop/images/15042025/05/15/image_15042025_05_15_01_4408.jpg
/home/pi/Desktop/images/15042025/05/14/image_15042025_05_14_01_7396.jpg
/home/pi/Desktop/images/15042025/05/13/image_15042025_05_13_01_4141.jpg
/home/pi/Desktop/images/15042025/05/11/image_15042025_05_11_01_4511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852877","1349852840","1349852828","1349852860","1349852812","1349852892"],"photo_ids_order":["1349852812","1349852828","1349852840","1349852860","1349852877","1349852892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11097cddf8e7c79fc996f4934de1adbb.jpg","text":"TemporaryFile(/tmp/multipartBody7316739169936517965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708327931,"filename":"image_15042025_05_13_01_4141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d47a43260de49a90cf6fac73d7ecac20.jpg","text":"TemporaryFile(/tmp/multipartBody3323838948423779501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708327931,"filename":"image_15042025_05_15_01_4408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3718b3c12b45fc2179fd970d7b918d1.jpg","text":"TemporaryFile(/tmp/multipartBody3304483226460991503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708327931,"filename":"image_15042025_11_09_02_2081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1281d41b191c88a9f530544cb59e8c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6683392504061245304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708327931,"filename":"image_15042025_05_14_01_7396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a49046cf2457383c3b758521e76cefa.jpg","text":"TemporaryFile(/tmp/multipartBody1272767757937391873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708327931,"filename":"image_15042025_11_10_01_3911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbbd9257ec1ffa6a6f7584bfcc50146d.jpg","text":"TemporaryFile(/tmp/multipartBody3460369477745313176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708327931,"filename":"image_15042025_05_11_01_4511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852840","file1":"1349852828","file0":"1349852812","file4":"1349852877","file5":"1349852892","file3":"1349852860"},"map_files_photo_id_array":[{"photo_id":"1349852892","filename":"file5"},{"photo_id":"1349852840","filename":"file2"},{"photo_id":"1349852877","filename":"file4"},{"photo_id":"1349852828","filename":"file1"},{"photo_id":"1349852812","filename":"file0"},{"photo_id":"1349852860","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349852877":["hashtag1","hashtag2"]},{"1349852840":["hashtag1","hashtag2"]},{"1349852828":["hashtag1","hashtag2"]},{"1349852860":["hashtag1","hashtag2"]},{"1349852812":["hashtag1","hashtag2"]},{"1349852892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349852877, 1349852840, 1349852828, 1349852860, 1349852812, 1349852892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.95348644256592 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:13:03.162066
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_01_4377.jpg', 2), ('/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_02_0486.jpg', 2), ('/home/pi/Desktop/images/15042025/05/09/image_15042025_05_09_01_5534.jpg', 2), ('/home/pi/Desktop/images/15042025/05/08/image_15042025_05_08_01_7718.jpg', 2), ('/home/pi/Desktop/images/15042025/05/07/image_15042025_05_07_01_3813.jpg', 2), ('/home/pi/Desktop/images/15042025/05/06/image_15042025_05_06_01_6085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_01_4377.jpg', '/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_02_0486.jpg', '/home/pi/Desktop/images/15042025/05/09/image_15042025_05_09_01_5534.jpg', '/home/pi/Desktop/images/15042025/05/08/image_15042025_05_08_01_7718.jpg', '/home/pi/Desktop/images/15042025/05/07/image_15042025_05_07_01_3813.jpg', '/home/pi/Desktop/images/15042025/05/06/image_15042025_05_06_01_6085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_01_4377.jpg
/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_02_0486.jpg
/home/pi/Desktop/images/15042025/05/09/image_15042025_05_09_01_5534.jpg
/home/pi/Desktop/images/15042025/05/08/image_15042025_05_08_01_7718.jpg
/home/pi/Desktop/images/15042025/05/07/image_15042025_05_07_01_3813.jpg
/home/pi/Desktop/images/15042025/05/06/image_15042025_05_06_01_6085.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853105","1349853027","1349853071","1349853116","1349853001","1349853042"],"photo_ids_order":["1349853001","1349853027","1349853042","1349853071","1349853105","1349853116"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d1bac5be3a0e0ac16533fb46481ffcc.jpg","text":"TemporaryFile(/tmp/multipartBody3101161412695106238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708447838,"filename":"image_15042025_05_07_01_3813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16d0c53661b34f994572d4acc5e3ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody8943677549900705467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708447838,"filename":"image_15042025_11_11_02_0486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/311ce4c6ef3f622e7c0d6e8f770acac7.jpg","text":"TemporaryFile(/tmp/multipartBody245984581217383493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708447838,"filename":"image_15042025_05_08_01_7718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9fbbaef468cba3e1a8efb280ff4e556.jpg","text":"TemporaryFile(/tmp/multipartBody4447010837361614053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708447838,"filename":"image_15042025_05_06_01_6085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e5b60c6991a707150f5f742a67d3617.jpg","text":"TemporaryFile(/tmp/multipartBody8071785394689074993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708447838,"filename":"image_15042025_11_12_01_4377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18a3fcd780ea88edf1ce35682f7b8f1d.jpg","text":"TemporaryFile(/tmp/multipartBody5535612644443497109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708447838,"filename":"image_15042025_05_09_01_5534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853042","file1":"1349853027","file0":"1349853001","file4":"1349853105","file5":"1349853116","file3":"1349853071"},"map_files_photo_id_array":[{"photo_id":"1349853116","filename":"file5"},{"photo_id":"1349853042","filename":"file2"},{"photo_id":"1349853105","filename":"file4"},{"photo_id":"1349853027","filename":"file1"},{"photo_id":"1349853001","filename":"file0"},{"photo_id":"1349853071","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349853105":["hashtag1","hashtag2"]},{"1349853027":["hashtag1","hashtag2"]},{"1349853071":["hashtag1","hashtag2"]},{"1349853116":["hashtag1","hashtag2"]},{"1349853001":["hashtag1","hashtag2"]},{"1349853042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349853105, 1349853027, 1349853071, 1349853116, 1349853001, 1349853042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.67804193496704 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:14:02.822745
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/13/image_15042025_11_13_01_2653.jpg', 2), ('/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', 2), ('/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg', 2), ('/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg', 2), ('/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/13/image_15042025_11_13_01_2653.jpg', '/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg', '/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', '/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg', '/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg', '/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/13/image_15042025_11_13_01_2653.jpg
/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg
/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg
/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg
/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg
/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.936115026473999 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:15:03.964626
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/14/image_15042025_11_14_01_3344.jpg', 2), ('/home/pi/Desktop/images/15042025/11/13/image_15042025_11_13_01_2653.jpg', 2), ('/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg', 2), ('/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', 2), ('/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg', 2), ('/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/14/image_15042025_11_14_01_3344.jpg', '/home/pi/Desktop/images/15042025/11/13/image_15042025_11_13_01_2653.jpg', '/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg', '/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg', '/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg', '/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/14/image_15042025_11_14_01_3344.jpg
/home/pi/Desktop/images/15042025/11/13/image_15042025_11_13_01_2653.jpg
/home/pi/Desktop/images/15042025/05/04/image_15042025_05_04_01_7578.jpg
/home/pi/Desktop/images/15042025/05/03/image_15042025_05_03_01_9760.jpg
/home/pi/Desktop/images/15042025/05/01/image_15042025_05_01_02_1268.jpg
/home/pi/Desktop/images/15042025/05/00/image_15042025_05_00_02_0800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853359","1349853320","1349853301","1349853348","1349853333","1349853312"],"photo_ids_order":["1349853301","1349853312","1349853320","1349853333","1349853348","1349853359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f1f1e9dfff42c678c55551d27ca1729.jpg","text":"TemporaryFile(/tmp/multipartBody4754169423661778917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708567675,"filename":"image_15042025_05_00_02_0800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/444dc365c0f85755f5709e850eccf550.jpg","text":"TemporaryFile(/tmp/multipartBody8563519232129088425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708567675,"filename":"image_15042025_05_04_01_7578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fba5f1a233dfe92d9778d0bf4396734.jpg","text":"TemporaryFile(/tmp/multipartBody8921742352747863344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708567675,"filename":"image_15042025_11_14_01_3344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a47a3cf1b50d85e8e21c121bf494f011.jpg","text":"TemporaryFile(/tmp/multipartBody1056275710906843828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708567675,"filename":"image_15042025_05_01_02_1268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/030fe67b72bee7b82d708caa454cc39f.jpg","text":"TemporaryFile(/tmp/multipartBody2537841416308452713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708567675,"filename":"image_15042025_05_03_01_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5c720b36925d1f44e0f1b6d7d5bc0fc.jpg","text":"TemporaryFile(/tmp/multipartBody2673502560491885719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708567675,"filename":"image_15042025_11_13_01_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853320","file1":"1349853312","file0":"1349853301","file4":"1349853348","file5":"1349853359","file3":"1349853333"},"map_files_photo_id_array":[{"photo_id":"1349853359","filename":"file5"},{"photo_id":"1349853320","filename":"file2"},{"photo_id":"1349853348","filename":"file4"},{"photo_id":"1349853312","filename":"file1"},{"photo_id":"1349853301","filename":"file0"},{"photo_id":"1349853333","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349853359":["hashtag1","hashtag2"]},{"1349853320":["hashtag1","hashtag2"]},{"1349853301":["hashtag1","hashtag2"]},{"1349853348":["hashtag1","hashtag2"]},{"1349853333":["hashtag1","hashtag2"]},{"1349853312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349853359, 1349853320, 1349853301, 1349853348, 1349853333, 1349853312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.4765408039093 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:17:03.906201
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/16/image_15042025_11_16_02_1670.jpg', 2), ('/home/pi/Desktop/images/15042025/11/15/image_15042025_11_15_01_4660.jpg', 2), ('/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg', 2), ('/home/pi/Desktop/images/15042025/04/58/image_15042025_04_58_01_4072.jpg', 2), ('/home/pi/Desktop/images/15042025/04/57/image_15042025_04_57_02_0347.jpg', 2), ('/home/pi/Desktop/images/15042025/04/56/image_15042025_04_56_01_5064.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/16/image_15042025_11_16_02_1670.jpg', '/home/pi/Desktop/images/15042025/11/15/image_15042025_11_15_01_4660.jpg', '/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg', '/home/pi/Desktop/images/15042025/04/58/image_15042025_04_58_01_4072.jpg', '/home/pi/Desktop/images/15042025/04/57/image_15042025_04_57_02_0347.jpg', '/home/pi/Desktop/images/15042025/04/56/image_15042025_04_56_01_5064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/16/image_15042025_11_16_02_1670.jpg
/home/pi/Desktop/images/15042025/11/15/image_15042025_11_15_01_4660.jpg
/home/pi/Desktop/images/15042025/04/59/image_15042025_04_59_02_0053.jpg
/home/pi/Desktop/images/15042025/04/58/image_15042025_04_58_01_4072.jpg
/home/pi/Desktop/images/15042025/04/57/image_15042025_04_57_02_0347.jpg
/home/pi/Desktop/images/15042025/04/56/image_15042025_04_56_01_5064.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853524","1349853592","1349853556","1349853582","1349853570","1349853510"],"photo_ids_order":["1349853510","1349853524","1349853556","1349853570","1349853582","1349853592"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36751293517fcadc14dd551f57967249.jpg","text":"TemporaryFile(/tmp/multipartBody6517813413721951327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708688427,"filename":"image_15042025_11_15_01_4660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/654ab3aec7de05b9191923e99aaf0918.jpg","text":"TemporaryFile(/tmp/multipartBody2192319260391404078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708688427,"filename":"image_15042025_04_56_01_5064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/479b829f9f299fdbb6f4a93fbc22a6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6045283158599344473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708688427,"filename":"image_15042025_04_59_02_0053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58b807a97a50816fb6ff1f6e85742f1d.jpg","text":"TemporaryFile(/tmp/multipartBody748861728624643745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708688427,"filename":"image_15042025_04_57_02_0347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a1d0afc5ab39db855e62c7f061ed946.jpg","text":"TemporaryFile(/tmp/multipartBody8338656532488635506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708688427,"filename":"image_15042025_04_58_01_4072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e487f6dfd54b90f45bb94ddc6b48f84.jpg","text":"TemporaryFile(/tmp/multipartBody6294044985715306355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708688427,"filename":"image_15042025_11_16_02_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853556","file1":"1349853524","file0":"1349853510","file4":"1349853582","file5":"1349853592","file3":"1349853570"},"map_files_photo_id_array":[{"photo_id":"1349853592","filename":"file5"},{"photo_id":"1349853556","filename":"file2"},{"photo_id":"1349853582","filename":"file4"},{"photo_id":"1349853524","filename":"file1"},{"photo_id":"1349853510","filename":"file0"},{"photo_id":"1349853570","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349853524":["hashtag1","hashtag2"]},{"1349853592":["hashtag1","hashtag2"]},{"1349853556":["hashtag1","hashtag2"]},{"1349853582":["hashtag1","hashtag2"]},{"1349853570":["hashtag1","hashtag2"]},{"1349853510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349853524, 1349853592, 1349853556, 1349853582, 1349853570, 1349853510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46259546279907 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:18:02.944267
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/17/image_15042025_11_17_01_9592.jpg', 2), ('/home/pi/Desktop/images/15042025/04/55/image_15042025_04_55_02_1681.jpg', 2), ('/home/pi/Desktop/images/15042025/04/54/image_15042025_04_54_01_5274.jpg', 2), ('/home/pi/Desktop/images/15042025/04/53/image_15042025_04_53_01_3337.jpg', 2), ('/home/pi/Desktop/images/15042025/04/52/image_15042025_04_52_01_7477.jpg', 2), ('/home/pi/Desktop/images/15042025/04/51/image_15042025_04_51_01_4788.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/17/image_15042025_11_17_01_9592.jpg', '/home/pi/Desktop/images/15042025/04/55/image_15042025_04_55_02_1681.jpg', '/home/pi/Desktop/images/15042025/04/54/image_15042025_04_54_01_5274.jpg', '/home/pi/Desktop/images/15042025/04/53/image_15042025_04_53_01_3337.jpg', '/home/pi/Desktop/images/15042025/04/52/image_15042025_04_52_01_7477.jpg', '/home/pi/Desktop/images/15042025/04/51/image_15042025_04_51_01_4788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/17/image_15042025_11_17_01_9592.jpg
/home/pi/Desktop/images/15042025/04/55/image_15042025_04_55_02_1681.jpg
/home/pi/Desktop/images/15042025/04/54/image_15042025_04_54_01_5274.jpg
/home/pi/Desktop/images/15042025/04/53/image_15042025_04_53_01_3337.jpg
/home/pi/Desktop/images/15042025/04/52/image_15042025_04_52_01_7477.jpg
/home/pi/Desktop/images/15042025/04/51/image_15042025_04_51_01_4788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853620","1349853719","1349853806","1349853789","1349853780","1349853657"],"photo_ids_order":["1349853620","1349853657","1349853719","1349853780","1349853789","1349853806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b8c039989a20e6fbab843b47d11eb85.jpg","text":"TemporaryFile(/tmp/multipartBody6722218987977413963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708747893,"filename":"image_15042025_11_17_01_9592.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/817b925839bd36f101fc3167db808828.jpg","text":"TemporaryFile(/tmp/multipartBody980283632820305162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708747893,"filename":"image_15042025_04_54_01_5274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59b21be8561e32bbb21d51c4f3c5fe87.jpg","text":"TemporaryFile(/tmp/multipartBody1295348382324409339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708747893,"filename":"image_15042025_04_51_01_4788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b193529584d12e5a80fc5a9c53a44c3.jpg","text":"TemporaryFile(/tmp/multipartBody2744095624927303786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708747893,"filename":"image_15042025_04_52_01_7477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8475219a6ca0573e060770992830ea1d.jpg","text":"TemporaryFile(/tmp/multipartBody2338435940038986935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708747893,"filename":"image_15042025_04_53_01_3337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f7211a8b774d5dc9cdcaf13c11f0d55.jpg","text":"TemporaryFile(/tmp/multipartBody5894026678488052276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708747893,"filename":"image_15042025_04_55_02_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853719","file1":"1349853657","file0":"1349853620","file4":"1349853789","file5":"1349853806","file3":"1349853780"},"map_files_photo_id_array":[{"photo_id":"1349853806","filename":"file5"},{"photo_id":"1349853719","filename":"file2"},{"photo_id":"1349853789","filename":"file4"},{"photo_id":"1349853657","filename":"file1"},{"photo_id":"1349853620","filename":"file0"},{"photo_id":"1349853780","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349853620":["hashtag1","hashtag2"]},{"1349853719":["hashtag1","hashtag2"]},{"1349853806":["hashtag1","hashtag2"]},{"1349853789":["hashtag1","hashtag2"]},{"1349853780":["hashtag1","hashtag2"]},{"1349853657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349853620, 1349853719, 1349853806, 1349853789, 1349853780, 1349853657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.647910594940186 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:20:03.041232
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/19/image_15042025_11_19_01_5220.jpg', 2), ('/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_02_2836.jpg', 2), ('/home/pi/Desktop/images/15042025/04/50/image_15042025_04_50_01_9927.jpg', 2), ('/home/pi/Desktop/images/15042025/04/49/image_15042025_04_49_01_5679.jpg', 2), ('/home/pi/Desktop/images/15042025/04/48/image_15042025_04_48_01_9634.jpg', 2), ('/home/pi/Desktop/images/15042025/04/47/image_15042025_04_47_01_8017.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/19/image_15042025_11_19_01_5220.jpg', '/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_02_2836.jpg', '/home/pi/Desktop/images/15042025/04/50/image_15042025_04_50_01_9927.jpg', '/home/pi/Desktop/images/15042025/04/49/image_15042025_04_49_01_5679.jpg', '/home/pi/Desktop/images/15042025/04/48/image_15042025_04_48_01_9634.jpg', '/home/pi/Desktop/images/15042025/04/47/image_15042025_04_47_01_8017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/19/image_15042025_11_19_01_5220.jpg
/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_02_2836.jpg
/home/pi/Desktop/images/15042025/04/50/image_15042025_04_50_01_9927.jpg
/home/pi/Desktop/images/15042025/04/49/image_15042025_04_49_01_5679.jpg
/home/pi/Desktop/images/15042025/04/48/image_15042025_04_48_01_9634.jpg
/home/pi/Desktop/images/15042025/04/47/image_15042025_04_47_01_8017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854052","1349854010","1349853971","1349853997","1349854042","1349854030"],"photo_ids_order":["1349853971","1349853997","1349854010","1349854030","1349854042","1349854052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/324e3d47793827b38f5dbd0da08b4d56.jpg","text":"TemporaryFile(/tmp/multipartBody3956323297041881528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708867591,"filename":"image_15042025_04_47_01_8017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25071db4f795bfc527c3f8623a773ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3793068652587771056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708867591,"filename":"image_15042025_04_50_01_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c1b0e8360af76294dfa546b287288a1.jpg","text":"TemporaryFile(/tmp/multipartBody5391295496372661071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708867591,"filename":"image_15042025_11_19_01_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93c395426e8b40ac62e64f1433170346.jpg","text":"TemporaryFile(/tmp/multipartBody2152367214031520839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708867591,"filename":"image_15042025_11_18_02_2836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26ae3fc77dd062d644424aec126f4109.jpg","text":"TemporaryFile(/tmp/multipartBody7333105978011375698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708867591,"filename":"image_15042025_04_48_01_9634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/610d432af263b8b68a40b4aae2d5e2f9.jpg","text":"TemporaryFile(/tmp/multipartBody7506879339709591907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708867591,"filename":"image_15042025_04_49_01_5679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854010","file1":"1349853997","file0":"1349853971","file4":"1349854042","file5":"1349854052","file3":"1349854030"},"map_files_photo_id_array":[{"photo_id":"1349854052","filename":"file5"},{"photo_id":"1349854010","filename":"file2"},{"photo_id":"1349854042","filename":"file4"},{"photo_id":"1349853997","filename":"file1"},{"photo_id":"1349853971","filename":"file0"},{"photo_id":"1349854030","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349854052":["hashtag1","hashtag2"]},{"1349854010":["hashtag1","hashtag2"]},{"1349853971":["hashtag1","hashtag2"]},{"1349853997":["hashtag1","hashtag2"]},{"1349854042":["hashtag1","hashtag2"]},{"1349854030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349854052, 1349854010, 1349853971, 1349853997, 1349854042, 1349854030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.56354022026062 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:22:03.006875
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_01_7078.jpg', 2), ('/home/pi/Desktop/images/15042025/11/20/image_15042025_11_20_01_7968.jpg', 2), ('/home/pi/Desktop/images/15042025/04/46/image_15042025_04_46_01_2922.jpg', 2), ('/home/pi/Desktop/images/15042025/04/45/image_15042025_04_45_01_2162.jpg', 2), ('/home/pi/Desktop/images/15042025/04/44/image_15042025_04_44_01_8999.jpg', 2), ('/home/pi/Desktop/images/15042025/04/43/image_15042025_04_43_01_6679.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_01_7078.jpg', '/home/pi/Desktop/images/15042025/11/20/image_15042025_11_20_01_7968.jpg', '/home/pi/Desktop/images/15042025/04/46/image_15042025_04_46_01_2922.jpg', '/home/pi/Desktop/images/15042025/04/45/image_15042025_04_45_01_2162.jpg', '/home/pi/Desktop/images/15042025/04/44/image_15042025_04_44_01_8999.jpg', '/home/pi/Desktop/images/15042025/04/43/image_15042025_04_43_01_6679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_01_7078.jpg
/home/pi/Desktop/images/15042025/11/20/image_15042025_11_20_01_7968.jpg
/home/pi/Desktop/images/15042025/04/46/image_15042025_04_46_01_2922.jpg
/home/pi/Desktop/images/15042025/04/45/image_15042025_04_45_01_2162.jpg
/home/pi/Desktop/images/15042025/04/44/image_15042025_04_44_01_8999.jpg
/home/pi/Desktop/images/15042025/04/43/image_15042025_04_43_01_6679.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854163","1349854174","1349854204","1349854182","1349854191","1349854155"],"photo_ids_order":["1349854155","1349854163","1349854174","1349854182","1349854191","1349854204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7101d4258070a893af705a49140e16c.jpg","text":"TemporaryFile(/tmp/multipartBody8061681410347288098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708987008,"filename":"image_15042025_11_20_01_7968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a75d3389a80765d41effe65b70b40674.jpg","text":"TemporaryFile(/tmp/multipartBody8582789981471402569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708987008,"filename":"image_15042025_04_46_01_2922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad2825577b5d0f85e24ec77eee0fe6e1.jpg","text":"TemporaryFile(/tmp/multipartBody9198189959960312531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708987008,"filename":"image_15042025_04_43_01_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aac16b9bd07e7a0a443803640a15a32d.jpg","text":"TemporaryFile(/tmp/multipartBody7738238991129308025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708987008,"filename":"image_15042025_04_45_01_2162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8596edaad108b10abc4f234e5540f69.jpg","text":"TemporaryFile(/tmp/multipartBody4777490088430149303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708987008,"filename":"image_15042025_04_44_01_8999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f902d928d0279acfb0133218e112cfd4.jpg","text":"TemporaryFile(/tmp/multipartBody7013875709614926915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708987008,"filename":"image_15042025_11_21_01_7078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854174","file1":"1349854163","file0":"1349854155","file4":"1349854191","file5":"1349854204","file3":"1349854182"},"map_files_photo_id_array":[{"photo_id":"1349854204","filename":"file5"},{"photo_id":"1349854174","filename":"file2"},{"photo_id":"1349854191","filename":"file4"},{"photo_id":"1349854163","filename":"file1"},{"photo_id":"1349854155","filename":"file0"},{"photo_id":"1349854182","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349854163":["hashtag1","hashtag2"]},{"1349854174":["hashtag1","hashtag2"]},{"1349854204":["hashtag1","hashtag2"]},{"1349854182":["hashtag1","hashtag2"]},{"1349854191":["hashtag1","hashtag2"]},{"1349854155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349854163, 1349854174, 1349854204, 1349854182, 1349854191, 1349854155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8644015789032 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:23:03.690312
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_02_0423.jpg', 2), ('/home/pi/Desktop/images/15042025/04/41/image_15042025_04_41_01_7173.jpg', 2), ('/home/pi/Desktop/images/15042025/04/40/image_15042025_04_40_02_1417.jpg', 2), ('/home/pi/Desktop/images/15042025/04/38/image_15042025_04_38_01_4181.jpg', 2), ('/home/pi/Desktop/images/15042025/04/36/image_15042025_04_36_01_3164.jpg', 2), ('/home/pi/Desktop/images/15042025/04/35/image_15042025_04_35_02_0223.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_02_0423.jpg', '/home/pi/Desktop/images/15042025/04/41/image_15042025_04_41_01_7173.jpg', '/home/pi/Desktop/images/15042025/04/40/image_15042025_04_40_02_1417.jpg', '/home/pi/Desktop/images/15042025/04/38/image_15042025_04_38_01_4181.jpg', '/home/pi/Desktop/images/15042025/04/36/image_15042025_04_36_01_3164.jpg', '/home/pi/Desktop/images/15042025/04/35/image_15042025_04_35_02_0223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_02_0423.jpg
/home/pi/Desktop/images/15042025/04/41/image_15042025_04_41_01_7173.jpg
/home/pi/Desktop/images/15042025/04/40/image_15042025_04_40_02_1417.jpg
/home/pi/Desktop/images/15042025/04/38/image_15042025_04_38_01_4181.jpg
/home/pi/Desktop/images/15042025/04/36/image_15042025_04_36_01_3164.jpg
/home/pi/Desktop/images/15042025/04/35/image_15042025_04_35_02_0223.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854270","1349854258","1349854246","1349854237","1349854293","1349854281"],"photo_ids_order":["1349854237","1349854246","1349854258","1349854270","1349854281","1349854293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed99ba2c0b27cd98eaa7c2be5090b6b9.jpg","text":"TemporaryFile(/tmp/multipartBody5398110683007748577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709048775,"filename":"image_15042025_04_38_01_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a65822b1860cac889162d90fe4560b0.jpg","text":"TemporaryFile(/tmp/multipartBody392019323865445656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709048775,"filename":"image_15042025_04_40_02_1417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6629b3c9bc9af5a2da3283cb1a71ac74.jpg","text":"TemporaryFile(/tmp/multipartBody8156160269251453581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709048775,"filename":"image_15042025_04_41_01_7173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddf4a8119c7ceaa3409ee1f57b32e44f.jpg","text":"TemporaryFile(/tmp/multipartBody1394006603143894818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709048775,"filename":"image_15042025_11_22_02_0423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/506f8268bb7bd9af5c10bd29fb48d66a.jpg","text":"TemporaryFile(/tmp/multipartBody3906881646479971634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709048775,"filename":"image_15042025_04_35_02_0223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e10211fcb8e53737397deed46c071224.jpg","text":"TemporaryFile(/tmp/multipartBody7214047172459731723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709048775,"filename":"image_15042025_04_36_01_3164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854258","file1":"1349854246","file0":"1349854237","file4":"1349854281","file5":"1349854293","file3":"1349854270"},"map_files_photo_id_array":[{"photo_id":"1349854293","filename":"file5"},{"photo_id":"1349854258","filename":"file2"},{"photo_id":"1349854281","filename":"file4"},{"photo_id":"1349854246","filename":"file1"},{"photo_id":"1349854237","filename":"file0"},{"photo_id":"1349854270","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349854270":["hashtag1","hashtag2"]},{"1349854258":["hashtag1","hashtag2"]},{"1349854246":["hashtag1","hashtag2"]},{"1349854237":["hashtag1","hashtag2"]},{"1349854293":["hashtag1","hashtag2"]},{"1349854281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349854270, 1349854258, 1349854246, 1349854237, 1349854293, 1349854281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.250277042388916 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:25:06.959153
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_01_9774.jpg', 2), ('/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_01_6613.jpg', 2), ('/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2771.jpg', 2), ('/home/pi/Desktop/images/15042025/04/33/image_15042025_04_33_01_9626.jpg', 2), ('/home/pi/Desktop/images/15042025/04/32/image_15042025_04_32_01_6597.jpg', 2), ('/home/pi/Desktop/images/15042025/04/31/image_15042025_04_31_01_3237.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_01_9774.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_01_6613.jpg', '/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2771.jpg', '/home/pi/Desktop/images/15042025/04/33/image_15042025_04_33_01_9626.jpg', '/home/pi/Desktop/images/15042025/04/32/image_15042025_04_32_01_6597.jpg', '/home/pi/Desktop/images/15042025/04/31/image_15042025_04_31_01_3237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_01_9774.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_01_6613.jpg
/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2771.jpg
/home/pi/Desktop/images/15042025/04/33/image_15042025_04_33_01_9626.jpg
/home/pi/Desktop/images/15042025/04/32/image_15042025_04_32_01_6597.jpg
/home/pi/Desktop/images/15042025/04/31/image_15042025_04_31_01_3237.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854805","1349854771","1349854747","1349854569","1349854812","1349854790"],"photo_ids_order":["1349854569","1349854747","1349854771","1349854790","1349854805","1349854812"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96f5889fc574fd546930a68d47ea97b8.jpg","text":"TemporaryFile(/tmp/multipartBody429977130006377535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709172834,"filename":"image_15042025_04_32_01_6597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4e65c4d3e348bd5aa8bf43915b23b66.jpg","text":"TemporaryFile(/tmp/multipartBody3355486147845019631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709172834,"filename":"image_15042025_04_34_01_2771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86d6fe69faa2cfc1a9a834a72e9c4d58.jpg","text":"TemporaryFile(/tmp/multipartBody8293682001415090128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709172834,"filename":"image_15042025_11_23_01_6613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f9f86defac3f0f4ad621de1626251dd.jpg","text":"TemporaryFile(/tmp/multipartBody6161181482256177061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709172834,"filename":"image_15042025_11_24_01_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fff08063bd12bb195b0090397254873.jpg","text":"TemporaryFile(/tmp/multipartBody4435834020713973674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709172834,"filename":"image_15042025_04_31_01_3237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/090186ea0e2a3c1f324977cd7d9ceccd.jpg","text":"TemporaryFile(/tmp/multipartBody1646164076932620694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709172834,"filename":"image_15042025_04_33_01_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854771","file1":"1349854747","file0":"1349854569","file4":"1349854805","file5":"1349854812","file3":"1349854790"},"map_files_photo_id_array":[{"photo_id":"1349854812","filename":"file5"},{"photo_id":"1349854771","filename":"file2"},{"photo_id":"1349854805","filename":"file4"},{"photo_id":"1349854747","filename":"file1"},{"photo_id":"1349854569","filename":"file0"},{"photo_id":"1349854790","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349854805":["hashtag1","hashtag2"]},{"1349854771":["hashtag1","hashtag2"]},{"1349854747":["hashtag1","hashtag2"]},{"1349854569":["hashtag1","hashtag2"]},{"1349854812":["hashtag1","hashtag2"]},{"1349854790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349854805, 1349854771, 1349854747, 1349854569, 1349854812, 1349854790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.25390696525574 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:27:04.354919
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_01_9465.jpg', 2), ('/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_01_4067.jpg', 2), ('/home/pi/Desktop/images/15042025/04/30/image_15042025_04_30_01_6807.jpg', 2), ('/home/pi/Desktop/images/15042025/04/23/image_15042025_04_23_01_8471.jpg', 2), ('/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg', 2), ('/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_01_9465.jpg', '/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_01_4067.jpg', '/home/pi/Desktop/images/15042025/04/30/image_15042025_04_30_01_6807.jpg', '/home/pi/Desktop/images/15042025/04/23/image_15042025_04_23_01_8471.jpg', '/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg', '/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_01_9465.jpg
/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_01_4067.jpg
/home/pi/Desktop/images/15042025/04/30/image_15042025_04_30_01_6807.jpg
/home/pi/Desktop/images/15042025/04/23/image_15042025_04_23_01_8471.jpg
/home/pi/Desktop/images/15042025/04/22/image_15042025_04_22_01_3004.jpg
/home/pi/Desktop/images/15042025/04/17/image_15042025_04_17_01_9273.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855041","1349855029","1349855097","1349854986","1349854997","1349855075"],"photo_ids_order":["1349854986","1349854997","1349855029","1349855041","1349855075","1349855097"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ec38f3ffdbdfce8ab829415c9f5a28a.jpg","text":"TemporaryFile(/tmp/multipartBody1414539236493421001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709289795,"filename":"image_15042025_04_23_01_8471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/772d7c8757e048665a34ec13e360170b.jpg","text":"TemporaryFile(/tmp/multipartBody3011294961300903695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709289795,"filename":"image_15042025_04_30_01_6807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d10e2abdb61195540fce0e6436c5c310.jpg","text":"TemporaryFile(/tmp/multipartBody4439776794916524050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709289795,"filename":"image_15042025_04_17_01_9273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/562bb19d837e1a6b7013b51ae5c64a58.jpg","text":"TemporaryFile(/tmp/multipartBody2837428721716384298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709289795,"filename":"image_15042025_11_26_01_9465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/432b7c7c6175ebb57a9cf60ae335f767.jpg","text":"TemporaryFile(/tmp/multipartBody4010168589090128965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709289795,"filename":"image_15042025_11_25_01_4067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a616c31dc2925e6ca615cf3820122b2.jpg","text":"TemporaryFile(/tmp/multipartBody5374876026171552096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709289795,"filename":"image_15042025_04_22_01_3004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855029","file1":"1349854997","file0":"1349854986","file4":"1349855075","file5":"1349855097","file3":"1349855041"},"map_files_photo_id_array":[{"photo_id":"1349855097","filename":"file5"},{"photo_id":"1349855029","filename":"file2"},{"photo_id":"1349855075","filename":"file4"},{"photo_id":"1349854997","filename":"file1"},{"photo_id":"1349854986","filename":"file0"},{"photo_id":"1349855041","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349855041":["hashtag1","hashtag2"]},{"1349855029":["hashtag1","hashtag2"]},{"1349855097":["hashtag1","hashtag2"]},{"1349854986":["hashtag1","hashtag2"]},{"1349854997":["hashtag1","hashtag2"]},{"1349855075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349855041, 1349855029, 1349855097, 1349854986, 1349854997, 1349855075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.92039895057678 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:29:03.109342
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_01_7257.jpg', 2), ('/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_00_3694.jpg', 2), ('/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', 2), ('/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', 2), ('/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', 2), ('/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_01_7257.jpg', '/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_00_3694.jpg', '/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg', '/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg', '/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg', '/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_01_7257.jpg
/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_00_3694.jpg
/home/pi/Desktop/images/15042025/04/16/image_15042025_04_16_02_1930.jpg
/home/pi/Desktop/images/15042025/04/15/image_15042025_04_15_01_4268.jpg
/home/pi/Desktop/images/15042025/04/14/image_15042025_04_14_01_3329.jpg
/home/pi/Desktop/images/15042025/04/13/image_15042025_04_13_02_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855353","1349855400","1349855495","1349855369","1349855477","1349855330"],"photo_ids_order":["1349855330","1349855353","1349855369","1349855400","1349855477","1349855495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9315cf483eb0305e542f17926d7b38aa.jpg","text":"TemporaryFile(/tmp/multipartBody71257185599821454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709407911,"filename":"image_15042025_11_27_00_3694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a3c3b6d2e575cbc21a31a12d39606fd.jpg","text":"TemporaryFile(/tmp/multipartBody1086432764492076573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709407911,"filename":"image_15042025_04_15_01_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b933c355cbe72fde907e40f6fffa3993.jpg","text":"TemporaryFile(/tmp/multipartBody8753968988067125303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709407911,"filename":"image_15042025_04_13_02_2613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a44c9ff1e55d5cb33a0a8f8f4987fad9.jpg","text":"TemporaryFile(/tmp/multipartBody7627447630860463199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709407911,"filename":"image_15042025_04_16_02_1930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73a39e7dc6177ae9b8957f40980e3ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7083128240354433892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709407911,"filename":"image_15042025_04_14_01_3329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e019904d133c37a8db7013c992eece5.jpg","text":"TemporaryFile(/tmp/multipartBody8810207746637101815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709407911,"filename":"image_15042025_11_28_01_7257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855369","file1":"1349855353","file0":"1349855330","file4":"1349855477","file5":"1349855495","file3":"1349855400"},"map_files_photo_id_array":[{"photo_id":"1349855495","filename":"file5"},{"photo_id":"1349855369","filename":"file2"},{"photo_id":"1349855477","filename":"file4"},{"photo_id":"1349855353","filename":"file1"},{"photo_id":"1349855330","filename":"file0"},{"photo_id":"1349855400","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349855353":["hashtag1","hashtag2"]},{"1349855400":["hashtag1","hashtag2"]},{"1349855495":["hashtag1","hashtag2"]},{"1349855369":["hashtag1","hashtag2"]},{"1349855477":["hashtag1","hashtag2"]},{"1349855330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349855353, 1349855400, 1349855495, 1349855369, 1349855477, 1349855330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.88014101982117 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:31:03.696506
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_01_2369.jpg', 2), ('/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_02_1077.jpg', 2), ('/home/pi/Desktop/images/15042025/04/12/image_15042025_04_12_01_4172.jpg', 2), ('/home/pi/Desktop/images/15042025/04/09/image_15042025_04_09_01_4891.jpg', 2), ('/home/pi/Desktop/images/15042025/04/08/image_15042025_04_08_02_0123.jpg', 2), ('/home/pi/Desktop/images/15042025/04/07/image_15042025_04_07_01_7585.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_01_2369.jpg', '/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_02_1077.jpg', '/home/pi/Desktop/images/15042025/04/12/image_15042025_04_12_01_4172.jpg', '/home/pi/Desktop/images/15042025/04/09/image_15042025_04_09_01_4891.jpg', '/home/pi/Desktop/images/15042025/04/08/image_15042025_04_08_02_0123.jpg', '/home/pi/Desktop/images/15042025/04/07/image_15042025_04_07_01_7585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_01_2369.jpg
/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_02_1077.jpg
/home/pi/Desktop/images/15042025/04/12/image_15042025_04_12_01_4172.jpg
/home/pi/Desktop/images/15042025/04/09/image_15042025_04_09_01_4891.jpg
/home/pi/Desktop/images/15042025/04/08/image_15042025_04_08_02_0123.jpg
/home/pi/Desktop/images/15042025/04/07/image_15042025_04_07_01_7585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855813","1349855743","1349855716","1349855862","1349855847","1349855729"],"photo_ids_order":["1349855716","1349855729","1349855743","1349855813","1349855847","1349855862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afb73a6c14b6af657d0d02efcd530778.jpg","text":"TemporaryFile(/tmp/multipartBody5478981730666327148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709528381,"filename":"image_15042025_04_09_01_4891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a355d5e229edf900d7bb56e4df46e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1471141926463038650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709528381,"filename":"image_15042025_04_12_01_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4369c90bd0b551673e34a13488524be.jpg","text":"TemporaryFile(/tmp/multipartBody9141166908581329901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709528381,"filename":"image_15042025_11_30_01_2369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1515095e5fb3b43cf6ea3a957725464f.jpg","text":"TemporaryFile(/tmp/multipartBody1841301464788867987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709528381,"filename":"image_15042025_04_07_01_7585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/957e19bc98bdf897a9f702562121aea3.jpg","text":"TemporaryFile(/tmp/multipartBody6352790004439171376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709528381,"filename":"image_15042025_04_08_02_0123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69be0ab42258b860319c9771571ce028.jpg","text":"TemporaryFile(/tmp/multipartBody5021173620812590649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709528381,"filename":"image_15042025_11_29_02_1077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855743","file1":"1349855729","file0":"1349855716","file4":"1349855847","file5":"1349855862","file3":"1349855813"},"map_files_photo_id_array":[{"photo_id":"1349855862","filename":"file5"},{"photo_id":"1349855743","filename":"file2"},{"photo_id":"1349855847","filename":"file4"},{"photo_id":"1349855729","filename":"file1"},{"photo_id":"1349855716","filename":"file0"},{"photo_id":"1349855813","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349855813":["hashtag1","hashtag2"]},{"1349855743":["hashtag1","hashtag2"]},{"1349855716":["hashtag1","hashtag2"]},{"1349855862":["hashtag1","hashtag2"]},{"1349855847":["hashtag1","hashtag2"]},{"1349855729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349855813, 1349855743, 1349855716, 1349855862, 1349855847, 1349855729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.56869959831238 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:33:03.106707
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_02_1798.jpg', 2), ('/home/pi/Desktop/images/15042025/11/31/image_15042025_11_31_01_9155.jpg', 2), ('/home/pi/Desktop/images/15042025/04/06/image_15042025_04_06_02_0451.jpg', 2), ('/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', 2), ('/home/pi/Desktop/images/15042025/04/00/image_15042025_04_00_02_0721.jpg', 2), ('/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_02_1798.jpg', '/home/pi/Desktop/images/15042025/11/31/image_15042025_11_31_01_9155.jpg', '/home/pi/Desktop/images/15042025/04/06/image_15042025_04_06_02_0451.jpg', '/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg', '/home/pi/Desktop/images/15042025/04/00/image_15042025_04_00_02_0721.jpg', '/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_02_1798.jpg
/home/pi/Desktop/images/15042025/11/31/image_15042025_11_31_01_9155.jpg
/home/pi/Desktop/images/15042025/04/06/image_15042025_04_06_02_0451.jpg
/home/pi/Desktop/images/15042025/04/03/image_15042025_04_03_02_1922.jpg
/home/pi/Desktop/images/15042025/04/00/image_15042025_04_00_02_0721.jpg
/home/pi/Desktop/images/15042025/03/59/image_15042025_03_59_01_8332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856112","1349856078","1349856093","1349856141","1349856129","1349856017"],"photo_ids_order":["1349856017","1349856078","1349856093","1349856112","1349856129","1349856141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a60d03b3f349129fe3c67a31321382ba.jpg","text":"TemporaryFile(/tmp/multipartBody5333077582919921503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709647655,"filename":"image_15042025_04_03_02_1922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75809b04aa97db2babf09a5896b6b293.jpg","text":"TemporaryFile(/tmp/multipartBody4416801868823430155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709647655,"filename":"image_15042025_11_31_01_9155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fab7b4a20a53f77418cd04bc772a0ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6624226147811646704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709647655,"filename":"image_15042025_04_06_02_0451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/768157f92f10dccc578f7f649425f6b5.jpg","text":"TemporaryFile(/tmp/multipartBody6229310533427228377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709647655,"filename":"image_15042025_03_59_01_8332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc761b7517717cecb53ac20c0f87036d.jpg","text":"TemporaryFile(/tmp/multipartBody5385434375002886463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709647655,"filename":"image_15042025_04_00_02_0721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62f2c72d06d674bf60dedc00fec88363.jpg","text":"TemporaryFile(/tmp/multipartBody3985316811572841776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709647655,"filename":"image_15042025_11_33_02_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856093","file1":"1349856078","file0":"1349856017","file4":"1349856129","file5":"1349856141","file3":"1349856112"},"map_files_photo_id_array":[{"photo_id":"1349856141","filename":"file5"},{"photo_id":"1349856093","filename":"file2"},{"photo_id":"1349856129","filename":"file4"},{"photo_id":"1349856078","filename":"file1"},{"photo_id":"1349856017","filename":"file0"},{"photo_id":"1349856112","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349856112":["hashtag1","hashtag2"]},{"1349856078":["hashtag1","hashtag2"]},{"1349856093":["hashtag1","hashtag2"]},{"1349856141":["hashtag1","hashtag2"]},{"1349856129":["hashtag1","hashtag2"]},{"1349856017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349856112, 1349856078, 1349856093, 1349856141, 1349856129, 1349856017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.31153750419617 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:35:03.316426
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/34/image_15042025_11_34_01_3053.jpg', 2), ('/home/pi/Desktop/images/15042025/11/32/image_15042025_11_32_02_1240.jpg', 2), ('/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg', 2), ('/home/pi/Desktop/images/15042025/03/57/image_15042025_03_57_02_1179.jpg', 2), ('/home/pi/Desktop/images/15042025/03/56/image_15042025_03_56_01_6049.jpg', 2), ('/home/pi/Desktop/images/15042025/03/55/image_15042025_03_55_01_2629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/34/image_15042025_11_34_01_3053.jpg', '/home/pi/Desktop/images/15042025/11/32/image_15042025_11_32_02_1240.jpg', '/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg', '/home/pi/Desktop/images/15042025/03/57/image_15042025_03_57_02_1179.jpg', '/home/pi/Desktop/images/15042025/03/56/image_15042025_03_56_01_6049.jpg', '/home/pi/Desktop/images/15042025/03/55/image_15042025_03_55_01_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/34/image_15042025_11_34_01_3053.jpg
/home/pi/Desktop/images/15042025/11/32/image_15042025_11_32_02_1240.jpg
/home/pi/Desktop/images/15042025/03/58/image_15042025_03_58_01_3824.jpg
/home/pi/Desktop/images/15042025/03/57/image_15042025_03_57_02_1179.jpg
/home/pi/Desktop/images/15042025/03/56/image_15042025_03_56_01_6049.jpg
/home/pi/Desktop/images/15042025/03/55/image_15042025_03_55_01_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856373","1349856594","1349856477","1349856639","1349856698","1349856673"],"photo_ids_order":["1349856373","1349856477","1349856594","1349856639","1349856673","1349856698"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d62f2935d040229191eb547392ac72e.jpg","text":"TemporaryFile(/tmp/multipartBody2797798860330075386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709767792,"filename":"image_15042025_11_34_01_3053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e88307c3ef6c5e4e27978f87b733d708.jpg","text":"TemporaryFile(/tmp/multipartBody6481627276550693639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709767792,"filename":"image_15042025_03_58_01_3824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/760a14b71ba8dd3717fbc35893d3abe6.jpg","text":"TemporaryFile(/tmp/multipartBody4399367913064834824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709767792,"filename":"image_15042025_11_32_02_1240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe5e3f4df1bc584e45f58f4a9786ea15.jpg","text":"TemporaryFile(/tmp/multipartBody8641429564307586945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709767792,"filename":"image_15042025_03_57_02_1179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9da975f207b538baab178400d3838266.jpg","text":"TemporaryFile(/tmp/multipartBody6105067349865154877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709767792,"filename":"image_15042025_03_55_01_2629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0826673d15e8b3e10c8adab87f16756.jpg","text":"TemporaryFile(/tmp/multipartBody669671054137462451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709767792,"filename":"image_15042025_03_56_01_6049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856594","file1":"1349856477","file0":"1349856373","file4":"1349856673","file5":"1349856698","file3":"1349856639"},"map_files_photo_id_array":[{"photo_id":"1349856698","filename":"file5"},{"photo_id":"1349856594","filename":"file2"},{"photo_id":"1349856673","filename":"file4"},{"photo_id":"1349856477","filename":"file1"},{"photo_id":"1349856373","filename":"file0"},{"photo_id":"1349856639","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349856373":["hashtag1","hashtag2"]},{"1349856594":["hashtag1","hashtag2"]},{"1349856477":["hashtag1","hashtag2"]},{"1349856639":["hashtag1","hashtag2"]},{"1349856698":["hashtag1","hashtag2"]},{"1349856673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349856373, 1349856594, 1349856477, 1349856639, 1349856698, 1349856673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.85128974914551 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:37:03.368816
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_01_4095.jpg', 2), ('/home/pi/Desktop/images/15042025/03/54/image_15042025_03_54_01_6860.jpg', 2), ('/home/pi/Desktop/images/15042025/03/52/image_15042025_03_52_02_0281.jpg', 2), ('/home/pi/Desktop/images/15042025/03/50/image_15042025_03_50_02_1564.jpg', 2), ('/home/pi/Desktop/images/15042025/03/47/image_15042025_03_47_01_8478.jpg', 2), ('/home/pi/Desktop/images/15042025/03/46/image_15042025_03_46_01_2867.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_01_4095.jpg', '/home/pi/Desktop/images/15042025/03/54/image_15042025_03_54_01_6860.jpg', '/home/pi/Desktop/images/15042025/03/52/image_15042025_03_52_02_0281.jpg', '/home/pi/Desktop/images/15042025/03/50/image_15042025_03_50_02_1564.jpg', '/home/pi/Desktop/images/15042025/03/47/image_15042025_03_47_01_8478.jpg', '/home/pi/Desktop/images/15042025/03/46/image_15042025_03_46_01_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_01_4095.jpg
/home/pi/Desktop/images/15042025/03/54/image_15042025_03_54_01_6860.jpg
/home/pi/Desktop/images/15042025/03/52/image_15042025_03_52_02_0281.jpg
/home/pi/Desktop/images/15042025/03/50/image_15042025_03_50_02_1564.jpg
/home/pi/Desktop/images/15042025/03/47/image_15042025_03_47_01_8478.jpg
/home/pi/Desktop/images/15042025/03/46/image_15042025_03_46_01_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856937","1349857230","1349857142","1349857016","1349856902","1349856892"],"photo_ids_order":["1349856892","1349856902","1349856937","1349857016","1349857142","1349857230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53fd606c9fc81090c6306679ada7a514.jpg","text":"TemporaryFile(/tmp/multipartBody507052894663705949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709888381,"filename":"image_15042025_03_52_02_0281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/405e7db243d3c791d6e7c35a7ec28897.jpg","text":"TemporaryFile(/tmp/multipartBody8244117672858435130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709888381,"filename":"image_15042025_03_46_01_2867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbf7fddf4d794173847b5a1573383620.jpg","text":"TemporaryFile(/tmp/multipartBody2296716870674368758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709888381,"filename":"image_15042025_03_47_01_8478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e7d5513dd28111d3d26d6fa3f0e185d.jpg","text":"TemporaryFile(/tmp/multipartBody3600473611667112177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709888381,"filename":"image_15042025_03_50_02_1564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9b5888e637e5821c8115cd4c3559cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2874352992691925446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709888381,"filename":"image_15042025_03_54_01_6860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/142257efecd1fc6e80474a7a0317fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4719774034537098983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709888381,"filename":"image_15042025_11_35_01_4095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856937","file1":"1349856902","file0":"1349856892","file4":"1349857142","file5":"1349857230","file3":"1349857016"},"map_files_photo_id_array":[{"photo_id":"1349857230","filename":"file5"},{"photo_id":"1349856937","filename":"file2"},{"photo_id":"1349857142","filename":"file4"},{"photo_id":"1349856902","filename":"file1"},{"photo_id":"1349856892","filename":"file0"},{"photo_id":"1349857016","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349856937":["hashtag1","hashtag2"]},{"1349857230":["hashtag1","hashtag2"]},{"1349857142":["hashtag1","hashtag2"]},{"1349857016":["hashtag1","hashtag2"]},{"1349856902":["hashtag1","hashtag2"]},{"1349856892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349856937, 1349857230, 1349857142, 1349857016, 1349856902, 1349856892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.67306423187256 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:39:03.332981
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/38/image_15042025_11_38_01_5418.jpg', 2), ('/home/pi/Desktop/images/15042025/11/37/image_15042025_11_37_01_3672.jpg', 2), ('/home/pi/Desktop/images/15042025/03/45/image_15042025_03_45_01_9672.jpg', 2), ('/home/pi/Desktop/images/15042025/03/43/image_15042025_03_43_02_1552.jpg', 2), ('/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg', 2), ('/home/pi/Desktop/images/15042025/03/39/image_15042025_03_39_02_2234.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/38/image_15042025_11_38_01_5418.jpg', '/home/pi/Desktop/images/15042025/11/37/image_15042025_11_37_01_3672.jpg', '/home/pi/Desktop/images/15042025/03/45/image_15042025_03_45_01_9672.jpg', '/home/pi/Desktop/images/15042025/03/43/image_15042025_03_43_02_1552.jpg', '/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg', '/home/pi/Desktop/images/15042025/03/39/image_15042025_03_39_02_2234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/38/image_15042025_11_38_01_5418.jpg
/home/pi/Desktop/images/15042025/11/37/image_15042025_11_37_01_3672.jpg
/home/pi/Desktop/images/15042025/03/45/image_15042025_03_45_01_9672.jpg
/home/pi/Desktop/images/15042025/03/43/image_15042025_03_43_02_1552.jpg
/home/pi/Desktop/images/15042025/03/42/image_15042025_03_42_01_2879.jpg
/home/pi/Desktop/images/15042025/03/39/image_15042025_03_39_02_2234.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857698","1349857763","1349857721","1349857703","1349857756","1349857741"],"photo_ids_order":["1349857698","1349857703","1349857721","1349857741","1349857756","1349857763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55b9f5fc295781299ad3739d7b4afbe7.jpg","text":"TemporaryFile(/tmp/multipartBody51634795905737081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710008104,"filename":"image_15042025_11_38_01_5418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a93593d82aa05efad5eacb663545154b.jpg","text":"TemporaryFile(/tmp/multipartBody8635801050343833610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710008104,"filename":"image_15042025_03_39_02_2234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8291f54e6f6d0a0f64cda4e3140958cb.jpg","text":"TemporaryFile(/tmp/multipartBody6604080584342767343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710008104,"filename":"image_15042025_03_45_01_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84a4f8ad9e2439258792c3113456c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8190745970131905777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710008104,"filename":"image_15042025_11_37_01_3672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09f1d238272a563e4eaf5f023dbde1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8005515142300825531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710008104,"filename":"image_15042025_03_42_01_2879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4f45343f4480e5a0970c96c25e975d1.jpg","text":"TemporaryFile(/tmp/multipartBody4540105704041073352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710008104,"filename":"image_15042025_03_43_02_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857721","file1":"1349857703","file0":"1349857698","file4":"1349857756","file5":"1349857763","file3":"1349857741"},"map_files_photo_id_array":[{"photo_id":"1349857763","filename":"file5"},{"photo_id":"1349857721","filename":"file2"},{"photo_id":"1349857756","filename":"file4"},{"photo_id":"1349857703","filename":"file1"},{"photo_id":"1349857698","filename":"file0"},{"photo_id":"1349857741","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349857698":["hashtag1","hashtag2"]},{"1349857763":["hashtag1","hashtag2"]},{"1349857721":["hashtag1","hashtag2"]},{"1349857703":["hashtag1","hashtag2"]},{"1349857756":["hashtag1","hashtag2"]},{"1349857741":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349857698, 1349857763, 1349857721, 1349857703, 1349857756, 1349857741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.8414044380188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:41:03.494470
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/40/image_15042025_11_40_01_3171.jpg', 2), ('/home/pi/Desktop/images/15042025/11/39/image_15042025_11_39_01_2772.jpg', 2), ('/home/pi/Desktop/images/15042025/03/38/image_15042025_03_38_01_6167.jpg', 2), ('/home/pi/Desktop/images/15042025/03/36/image_15042025_03_36_01_7404.jpg', 2), ('/home/pi/Desktop/images/15042025/03/35/image_15042025_03_35_01_6127.jpg', 2), ('/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/40/image_15042025_11_40_01_3171.jpg', '/home/pi/Desktop/images/15042025/11/39/image_15042025_11_39_01_2772.jpg', '/home/pi/Desktop/images/15042025/03/38/image_15042025_03_38_01_6167.jpg', '/home/pi/Desktop/images/15042025/03/36/image_15042025_03_36_01_7404.jpg', '/home/pi/Desktop/images/15042025/03/35/image_15042025_03_35_01_6127.jpg', '/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/40/image_15042025_11_40_01_3171.jpg
/home/pi/Desktop/images/15042025/11/39/image_15042025_11_39_01_2772.jpg
/home/pi/Desktop/images/15042025/03/38/image_15042025_03_38_01_6167.jpg
/home/pi/Desktop/images/15042025/03/36/image_15042025_03_36_01_7404.jpg
/home/pi/Desktop/images/15042025/03/35/image_15042025_03_35_01_6127.jpg
/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_02_1427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857935","1349857902","1349857892","1349857949","1349857925","1349857913"],"photo_ids_order":["1349857892","1349857902","1349857913","1349857925","1349857935","1349857949"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adbea6ea5ecf817f4808833cc28f32ca.jpg","text":"TemporaryFile(/tmp/multipartBody5629219002876181656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710128194,"filename":"image_15042025_03_35_01_6127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9bc104d8346d5a15b66f846509cfbf7.jpg","text":"TemporaryFile(/tmp/multipartBody1900178660746202034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710128194,"filename":"image_15042025_11_39_01_2772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/149129b3fe2a1df4354d99361a63d79c.jpg","text":"TemporaryFile(/tmp/multipartBody5053569259824378697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710128194,"filename":"image_15042025_11_40_01_3171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bdd097fae014d6acef4e08d9d7cf6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1658299221694113739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710128194,"filename":"image_15042025_03_34_02_1427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4372a13d234f93f2784adc781055ae50.jpg","text":"TemporaryFile(/tmp/multipartBody1985474956742686718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710128194,"filename":"image_15042025_03_36_01_7404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f1723b9aff968ed55226de65f9b480d.jpg","text":"TemporaryFile(/tmp/multipartBody717300435872201849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710128194,"filename":"image_15042025_03_38_01_6167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857913","file1":"1349857902","file0":"1349857892","file4":"1349857935","file5":"1349857949","file3":"1349857925"},"map_files_photo_id_array":[{"photo_id":"1349857949","filename":"file5"},{"photo_id":"1349857913","filename":"file2"},{"photo_id":"1349857935","filename":"file4"},{"photo_id":"1349857902","filename":"file1"},{"photo_id":"1349857892","filename":"file0"},{"photo_id":"1349857925","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349857935":["hashtag1","hashtag2"]},{"1349857902":["hashtag1","hashtag2"]},{"1349857892":["hashtag1","hashtag2"]},{"1349857949":["hashtag1","hashtag2"]},{"1349857925":["hashtag1","hashtag2"]},{"1349857913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349857935, 1349857902, 1349857892, 1349857949, 1349857925, 1349857913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.22509145736694 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:43:03.438726
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/42/image_15042025_11_42_01_5772.jpg', 2), ('/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_01_4308.jpg', 2), ('/home/pi/Desktop/images/15042025/03/33/image_15042025_03_33_01_8535.jpg', 2), ('/home/pi/Desktop/images/15042025/03/32/image_15042025_03_32_01_1985.jpg', 2), ('/home/pi/Desktop/images/15042025/03/31/image_15042025_03_31_02_0385.jpg', 2), ('/home/pi/Desktop/images/15042025/03/30/image_15042025_03_30_01_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/42/image_15042025_11_42_01_5772.jpg', '/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_01_4308.jpg', '/home/pi/Desktop/images/15042025/03/33/image_15042025_03_33_01_8535.jpg', '/home/pi/Desktop/images/15042025/03/32/image_15042025_03_32_01_1985.jpg', '/home/pi/Desktop/images/15042025/03/31/image_15042025_03_31_02_0385.jpg', '/home/pi/Desktop/images/15042025/03/30/image_15042025_03_30_01_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/42/image_15042025_11_42_01_5772.jpg
/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_01_4308.jpg
/home/pi/Desktop/images/15042025/03/33/image_15042025_03_33_01_8535.jpg
/home/pi/Desktop/images/15042025/03/32/image_15042025_03_32_01_1985.jpg
/home/pi/Desktop/images/15042025/03/31/image_15042025_03_31_02_0385.jpg
/home/pi/Desktop/images/15042025/03/30/image_15042025_03_30_01_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858328","1349858304","1349858315","1349858275","1349858344","1349858271"],"photo_ids_order":["1349858271","1349858275","1349858304","1349858315","1349858328","1349858344"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce1e055a23919a5509c8ecc3d960c25e.jpg","text":"TemporaryFile(/tmp/multipartBody8229453833079426328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710248026,"filename":"image_15042025_03_31_02_0385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf7c76decc4048a6b5e5e30e69db7d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8574957408496603041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710248026,"filename":"image_15042025_03_33_01_8535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d3c94e010560fb5e1e1c44c8e7416d2.jpg","text":"TemporaryFile(/tmp/multipartBody971996878538457228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710248026,"filename":"image_15042025_03_32_01_1985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cac718a1c4ce4987a7de1a8acfd83f69.jpg","text":"TemporaryFile(/tmp/multipartBody6388483247975614898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710248026,"filename":"image_15042025_11_41_01_4308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8df6c40cf53867b203156952a4de25da.jpg","text":"TemporaryFile(/tmp/multipartBody3418372061309918683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710248026,"filename":"image_15042025_03_30_01_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11aa5d09f2f6f9277992a9b44457da02.jpg","text":"TemporaryFile(/tmp/multipartBody8493038493748329798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710248026,"filename":"image_15042025_11_42_01_5772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858304","file1":"1349858275","file0":"1349858271","file4":"1349858328","file5":"1349858344","file3":"1349858315"},"map_files_photo_id_array":[{"photo_id":"1349858344","filename":"file5"},{"photo_id":"1349858304","filename":"file2"},{"photo_id":"1349858328","filename":"file4"},{"photo_id":"1349858275","filename":"file1"},{"photo_id":"1349858271","filename":"file0"},{"photo_id":"1349858315","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349858328":["hashtag1","hashtag2"]},{"1349858304":["hashtag1","hashtag2"]},{"1349858315":["hashtag1","hashtag2"]},{"1349858275":["hashtag1","hashtag2"]},{"1349858344":["hashtag1","hashtag2"]},{"1349858271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349858328, 1349858304, 1349858315, 1349858275, 1349858344, 1349858271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.61522674560547 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:45:03.303013
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/44/image_15042025_11_44_01_5970.jpg', 2), ('/home/pi/Desktop/images/15042025/11/43/image_15042025_11_43_01_4352.jpg', 2), ('/home/pi/Desktop/images/15042025/03/29/image_15042025_03_29_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/03/28/image_15042025_03_28_01_7170.jpg', 2), ('/home/pi/Desktop/images/15042025/03/26/image_15042025_03_26_01_5487.jpg', 2), ('/home/pi/Desktop/images/15042025/03/24/image_15042025_03_24_01_7283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/44/image_15042025_11_44_01_5970.jpg', '/home/pi/Desktop/images/15042025/11/43/image_15042025_11_43_01_4352.jpg', '/home/pi/Desktop/images/15042025/03/29/image_15042025_03_29_01_9226.jpg', '/home/pi/Desktop/images/15042025/03/28/image_15042025_03_28_01_7170.jpg', '/home/pi/Desktop/images/15042025/03/26/image_15042025_03_26_01_5487.jpg', '/home/pi/Desktop/images/15042025/03/24/image_15042025_03_24_01_7283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/44/image_15042025_11_44_01_5970.jpg
/home/pi/Desktop/images/15042025/11/43/image_15042025_11_43_01_4352.jpg
/home/pi/Desktop/images/15042025/03/29/image_15042025_03_29_01_9226.jpg
/home/pi/Desktop/images/15042025/03/28/image_15042025_03_28_01_7170.jpg
/home/pi/Desktop/images/15042025/03/26/image_15042025_03_26_01_5487.jpg
/home/pi/Desktop/images/15042025/03/24/image_15042025_03_24_01_7283.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858826","1349858733","1349858870","1349858564","1349858807","1349858790"],"photo_ids_order":["1349858564","1349858733","1349858790","1349858807","1349858826","1349858870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c48e3ac4107c331313855b43db1457a1.jpg","text":"TemporaryFile(/tmp/multipartBody4798562714861283552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710367810,"filename":"image_15042025_03_26_01_5487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72a8f93a863fbf56ffe6584451fad424.jpg","text":"TemporaryFile(/tmp/multipartBody2451210551030168014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710367810,"filename":"image_15042025_11_43_01_4352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ba4c1e001145a66dab07a728cab23e4.jpg","text":"TemporaryFile(/tmp/multipartBody836176176893653748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710367810,"filename":"image_15042025_03_24_01_7283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1de68a273ab61d4d5da6d5c9652afeaa.jpg","text":"TemporaryFile(/tmp/multipartBody7365175790029812499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710367810,"filename":"image_15042025_11_44_01_5970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/383c2e78cbe31577d6c99051fb39e032.jpg","text":"TemporaryFile(/tmp/multipartBody118991320545656610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710367810,"filename":"image_15042025_03_28_01_7170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c3f72e0abd9d5c2588ee12fa81f1702.jpg","text":"TemporaryFile(/tmp/multipartBody1961220737903559558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710367810,"filename":"image_15042025_03_29_01_9226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858790","file1":"1349858733","file0":"1349858564","file4":"1349858826","file5":"1349858870","file3":"1349858807"},"map_files_photo_id_array":[{"photo_id":"1349858870","filename":"file5"},{"photo_id":"1349858790","filename":"file2"},{"photo_id":"1349858826","filename":"file4"},{"photo_id":"1349858733","filename":"file1"},{"photo_id":"1349858564","filename":"file0"},{"photo_id":"1349858807","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349858826":["hashtag1","hashtag2"]},{"1349858733":["hashtag1","hashtag2"]},{"1349858870":["hashtag1","hashtag2"]},{"1349858564":["hashtag1","hashtag2"]},{"1349858807":["hashtag1","hashtag2"]},{"1349858790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349858826, 1349858733, 1349858870, 1349858564, 1349858807, 1349858790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.23904204368591 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:47:02.977560
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/46/image_15042025_11_46_01_6929.jpg', 2), ('/home/pi/Desktop/images/15042025/11/45/image_15042025_11_45_01_3878.jpg', 2), ('/home/pi/Desktop/images/15042025/03/23/image_15042025_03_23_01_4484.jpg', 2), ('/home/pi/Desktop/images/15042025/03/21/image_15042025_03_21_01_3548.jpg', 2), ('/home/pi/Desktop/images/15042025/03/20/image_15042025_03_20_02_0574.jpg', 2), ('/home/pi/Desktop/images/15042025/03/19/image_15042025_03_19_01_8222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/46/image_15042025_11_46_01_6929.jpg', '/home/pi/Desktop/images/15042025/11/45/image_15042025_11_45_01_3878.jpg', '/home/pi/Desktop/images/15042025/03/23/image_15042025_03_23_01_4484.jpg', '/home/pi/Desktop/images/15042025/03/21/image_15042025_03_21_01_3548.jpg', '/home/pi/Desktop/images/15042025/03/20/image_15042025_03_20_02_0574.jpg', '/home/pi/Desktop/images/15042025/03/19/image_15042025_03_19_01_8222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/46/image_15042025_11_46_01_6929.jpg
/home/pi/Desktop/images/15042025/11/45/image_15042025_11_45_01_3878.jpg
/home/pi/Desktop/images/15042025/03/23/image_15042025_03_23_01_4484.jpg
/home/pi/Desktop/images/15042025/03/21/image_15042025_03_21_01_3548.jpg
/home/pi/Desktop/images/15042025/03/20/image_15042025_03_20_02_0574.jpg
/home/pi/Desktop/images/15042025/03/19/image_15042025_03_19_01_8222.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859074","1349859035","1349859020","1349859014","1349859064","1349859048"],"photo_ids_order":["1349859014","1349859020","1349859035","1349859048","1349859064","1349859074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/254a41cef71c7e138542b5d37dd3c5f9.jpg","text":"TemporaryFile(/tmp/multipartBody988178807302397686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710487646,"filename":"image_15042025_03_19_01_8222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aedc3c309af92f1ab7a7d45a4929a67a.jpg","text":"TemporaryFile(/tmp/multipartBody8576931667154656126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710487646,"filename":"image_15042025_03_23_01_4484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cb3d4aa64db68195f1432ed379143fa.jpg","text":"TemporaryFile(/tmp/multipartBody8640994265584165913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710487646,"filename":"image_15042025_11_45_01_3878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b24d98d5edd467bf1be5a6246afbeee7.jpg","text":"TemporaryFile(/tmp/multipartBody3612041865810843998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710487646,"filename":"image_15042025_11_46_01_6929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3032f7f9d69662776701cb2d9594263c.jpg","text":"TemporaryFile(/tmp/multipartBody135042747796181804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710487646,"filename":"image_15042025_03_20_02_0574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0924bc3db056704ddc26292c925c20b1.jpg","text":"TemporaryFile(/tmp/multipartBody4509794524623867467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710487646,"filename":"image_15042025_03_21_01_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859035","file1":"1349859020","file0":"1349859014","file4":"1349859064","file5":"1349859074","file3":"1349859048"},"map_files_photo_id_array":[{"photo_id":"1349859074","filename":"file5"},{"photo_id":"1349859035","filename":"file2"},{"photo_id":"1349859064","filename":"file4"},{"photo_id":"1349859020","filename":"file1"},{"photo_id":"1349859014","filename":"file0"},{"photo_id":"1349859048","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349859074":["hashtag1","hashtag2"]},{"1349859035":["hashtag1","hashtag2"]},{"1349859020":["hashtag1","hashtag2"]},{"1349859014":["hashtag1","hashtag2"]},{"1349859064":["hashtag1","hashtag2"]},{"1349859048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349859074, 1349859035, 1349859020, 1349859014, 1349859064, 1349859048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.40920114517212 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:49:03.740790
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/48/image_15042025_11_48_01_2833.jpg', 2), ('/home/pi/Desktop/images/15042025/11/47/image_15042025_11_47_02_0258.jpg', 2), ('/home/pi/Desktop/images/15042025/03/18/image_15042025_03_18_02_0482.jpg', 2), ('/home/pi/Desktop/images/15042025/03/16/image_15042025_03_16_01_3339.jpg', 2), ('/home/pi/Desktop/images/15042025/03/14/image_15042025_03_14_01_5384.jpg', 2), ('/home/pi/Desktop/images/15042025/03/13/image_15042025_03_13_01_4553.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/48/image_15042025_11_48_01_2833.jpg', '/home/pi/Desktop/images/15042025/11/47/image_15042025_11_47_02_0258.jpg', '/home/pi/Desktop/images/15042025/03/18/image_15042025_03_18_02_0482.jpg', '/home/pi/Desktop/images/15042025/03/16/image_15042025_03_16_01_3339.jpg', '/home/pi/Desktop/images/15042025/03/14/image_15042025_03_14_01_5384.jpg', '/home/pi/Desktop/images/15042025/03/13/image_15042025_03_13_01_4553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/48/image_15042025_11_48_01_2833.jpg
/home/pi/Desktop/images/15042025/11/47/image_15042025_11_47_02_0258.jpg
/home/pi/Desktop/images/15042025/03/18/image_15042025_03_18_02_0482.jpg
/home/pi/Desktop/images/15042025/03/16/image_15042025_03_16_01_3339.jpg
/home/pi/Desktop/images/15042025/03/14/image_15042025_03_14_01_5384.jpg
/home/pi/Desktop/images/15042025/03/13/image_15042025_03_13_01_4553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859216","1349859200","1349859313","1349859177","1349859186","1349859228"],"photo_ids_order":["1349859177","1349859186","1349859200","1349859216","1349859228","1349859313"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6775ac6b42cf18d378d3b75c163eea4.jpg","text":"TemporaryFile(/tmp/multipartBody4096790548710600575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710608444,"filename":"image_15042025_03_16_01_3339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afd47c1f9cabbe55b51936cec4da9cd1.jpg","text":"TemporaryFile(/tmp/multipartBody223782380334046874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710608444,"filename":"image_15042025_03_18_02_0482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13f205a61732c406e95de71fc31629dc.jpg","text":"TemporaryFile(/tmp/multipartBody8046122527093900383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710608444,"filename":"image_15042025_03_13_01_4553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d62410381c9962aeae5809c183f6c438.jpg","text":"TemporaryFile(/tmp/multipartBody6046911197108990566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710608444,"filename":"image_15042025_11_48_01_2833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff025f0762606c98ead26eb55ab1671b.jpg","text":"TemporaryFile(/tmp/multipartBody7006633891382311459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710608444,"filename":"image_15042025_11_47_02_0258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6abe98ce78b280d0fd4244bc2e34476d.jpg","text":"TemporaryFile(/tmp/multipartBody3835264930451509262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710608444,"filename":"image_15042025_03_14_01_5384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859200","file1":"1349859186","file0":"1349859177","file4":"1349859228","file5":"1349859313","file3":"1349859216"},"map_files_photo_id_array":[{"photo_id":"1349859313","filename":"file5"},{"photo_id":"1349859200","filename":"file2"},{"photo_id":"1349859228","filename":"file4"},{"photo_id":"1349859186","filename":"file1"},{"photo_id":"1349859177","filename":"file0"},{"photo_id":"1349859216","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349859216":["hashtag1","hashtag2"]},{"1349859200":["hashtag1","hashtag2"]},{"1349859313":["hashtag1","hashtag2"]},{"1349859177":["hashtag1","hashtag2"]},{"1349859186":["hashtag1","hashtag2"]},{"1349859228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349859216, 1349859200, 1349859313, 1349859177, 1349859186, 1349859228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.747146129608154 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:51:03.226940
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/03/12/image_15042025_03_12_01_4881.jpg', 2), ('/home/pi/Desktop/images/15042025/03/11/image_15042025_03_11_01_2816.jpg', 2), ('/home/pi/Desktop/images/15042025/03/10/image_15042025_03_10_01_7194.jpg', 2), ('/home/pi/Desktop/images/15042025/03/06/image_15042025_03_06_02_1500.jpg', 2), ('/home/pi/Desktop/images/15042025/03/05/image_15042025_03_05_01_7390.jpg', 2), ('/home/pi/Desktop/images/15042025/03/03/image_15042025_03_03_01_7966.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/03/12/image_15042025_03_12_01_4881.jpg', '/home/pi/Desktop/images/15042025/03/11/image_15042025_03_11_01_2816.jpg', '/home/pi/Desktop/images/15042025/03/10/image_15042025_03_10_01_7194.jpg', '/home/pi/Desktop/images/15042025/03/06/image_15042025_03_06_02_1500.jpg', '/home/pi/Desktop/images/15042025/03/05/image_15042025_03_05_01_7390.jpg', '/home/pi/Desktop/images/15042025/03/03/image_15042025_03_03_01_7966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/03/12/image_15042025_03_12_01_4881.jpg
/home/pi/Desktop/images/15042025/03/11/image_15042025_03_11_01_2816.jpg
/home/pi/Desktop/images/15042025/03/10/image_15042025_03_10_01_7194.jpg
/home/pi/Desktop/images/15042025/03/06/image_15042025_03_06_02_1500.jpg
/home/pi/Desktop/images/15042025/03/05/image_15042025_03_05_01_7390.jpg
/home/pi/Desktop/images/15042025/03/03/image_15042025_03_03_01_7966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859455","1349859512","1349859492","1349859474","1349859462","1349859450"],"photo_ids_order":["1349859450","1349859455","1349859462","1349859474","1349859492","1349859512"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c4c8a5bc170a5f413a9e6ddd778902e.jpg","text":"TemporaryFile(/tmp/multipartBody4878120559277567105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710728341,"filename":"image_15042025_03_11_01_2816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01273a1f91e90161e1c9363413ef2963.jpg","text":"TemporaryFile(/tmp/multipartBody7306026208133274913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710728341,"filename":"image_15042025_03_03_01_7966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8a1ebb65475a14a21c00c2cb9b579c7.jpg","text":"TemporaryFile(/tmp/multipartBody8878449548207408085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710728341,"filename":"image_15042025_03_05_01_7390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/109b9f0501814a78e5708fa46d851d39.jpg","text":"TemporaryFile(/tmp/multipartBody3010213738293029720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710728341,"filename":"image_15042025_03_06_02_1500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dd1a03979ae4e1fd9d49d7f3365da45.jpg","text":"TemporaryFile(/tmp/multipartBody6181595721513520834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710728341,"filename":"image_15042025_03_10_01_7194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e58d028abfd69d411e890dba2592dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody2364661328880314986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710728341,"filename":"image_15042025_03_12_01_4881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859462","file1":"1349859455","file0":"1349859450","file4":"1349859492","file5":"1349859512","file3":"1349859474"},"map_files_photo_id_array":[{"photo_id":"1349859512","filename":"file5"},{"photo_id":"1349859462","filename":"file2"},{"photo_id":"1349859492","filename":"file4"},{"photo_id":"1349859455","filename":"file1"},{"photo_id":"1349859450","filename":"file0"},{"photo_id":"1349859474","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349859455":["hashtag1","hashtag2"]},{"1349859512":["hashtag1","hashtag2"]},{"1349859492":["hashtag1","hashtag2"]},{"1349859474":["hashtag1","hashtag2"]},{"1349859462":["hashtag1","hashtag2"]},{"1349859450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349859455, 1349859512, 1349859492, 1349859474, 1349859462, 1349859450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.41464757919312 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:53:03.341345
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/52/image_15042025_11_52_01_4706.jpg', 2), ('/home/pi/Desktop/images/15042025/11/51/image_15042025_11_51_01_3371.jpg', 2), ('/home/pi/Desktop/images/15042025/11/49/image_15042025_11_49_01_9077.jpg', 2), ('/home/pi/Desktop/images/15042025/03/02/image_15042025_03_02_01_3465.jpg', 2), ('/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg', 2), ('/home/pi/Desktop/images/15042025/02/59/image_15042025_02_59_01_7067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/52/image_15042025_11_52_01_4706.jpg', '/home/pi/Desktop/images/15042025/11/51/image_15042025_11_51_01_3371.jpg', '/home/pi/Desktop/images/15042025/11/49/image_15042025_11_49_01_9077.jpg', '/home/pi/Desktop/images/15042025/03/02/image_15042025_03_02_01_3465.jpg', '/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg', '/home/pi/Desktop/images/15042025/02/59/image_15042025_02_59_01_7067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/52/image_15042025_11_52_01_4706.jpg
/home/pi/Desktop/images/15042025/11/51/image_15042025_11_51_01_3371.jpg
/home/pi/Desktop/images/15042025/11/49/image_15042025_11_49_01_9077.jpg
/home/pi/Desktop/images/15042025/03/02/image_15042025_03_02_01_3465.jpg
/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_01_3516.jpg
/home/pi/Desktop/images/15042025/02/59/image_15042025_02_59_01_7067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859612","1349859606","1349859623","1349859655","1349859666","1349859639"],"photo_ids_order":["1349859606","1349859612","1349859623","1349859639","1349859655","1349859666"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8960d468a649ab4ddd07e85452cd7b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3409579526442966410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710847697,"filename":"image_15042025_11_51_01_3371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8825c1a2e2d96953e6538a3c1cb30bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4674304667889266242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710847697,"filename":"image_15042025_11_52_01_4706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0cfd064f6f1304a95b42a50f137b603.jpg","text":"TemporaryFile(/tmp/multipartBody3942475350208960922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710847697,"filename":"image_15042025_11_49_01_9077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c93f1fd54696f4017078b6c7a7a71a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7257170331380070321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710847697,"filename":"image_15042025_03_00_01_3516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9585991f7ff26dc98dcc49f4c9a692d.jpg","text":"TemporaryFile(/tmp/multipartBody470198182942290660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710847697,"filename":"image_15042025_02_59_01_7067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df29662b00aa0019bc5609a56bef7d5a.jpg","text":"TemporaryFile(/tmp/multipartBody6576258547839340481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710847697,"filename":"image_15042025_03_02_01_3465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859623","file1":"1349859612","file0":"1349859606","file4":"1349859655","file5":"1349859666","file3":"1349859639"},"map_files_photo_id_array":[{"photo_id":"1349859666","filename":"file5"},{"photo_id":"1349859623","filename":"file2"},{"photo_id":"1349859655","filename":"file4"},{"photo_id":"1349859612","filename":"file1"},{"photo_id":"1349859606","filename":"file0"},{"photo_id":"1349859639","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349859612":["hashtag1","hashtag2"]},{"1349859606":["hashtag1","hashtag2"]},{"1349859623":["hashtag1","hashtag2"]},{"1349859655":["hashtag1","hashtag2"]},{"1349859666":["hashtag1","hashtag2"]},{"1349859639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349859612, 1349859606, 1349859623, 1349859655, 1349859666, 1349859639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.71790027618408 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:55:03.298492
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/54/image_15042025_11_54_01_7423.jpg', 2), ('/home/pi/Desktop/images/15042025/11/53/image_15042025_11_53_01_6286.jpg', 2), ('/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg', 2), ('/home/pi/Desktop/images/15042025/02/57/image_15042025_02_57_01_7989.jpg', 2), ('/home/pi/Desktop/images/15042025/02/56/image_15042025_02_56_01_3014.jpg', 2), ('/home/pi/Desktop/images/15042025/02/55/image_15042025_02_55_01_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/54/image_15042025_11_54_01_7423.jpg', '/home/pi/Desktop/images/15042025/11/53/image_15042025_11_53_01_6286.jpg', '/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg', '/home/pi/Desktop/images/15042025/02/57/image_15042025_02_57_01_7989.jpg', '/home/pi/Desktop/images/15042025/02/56/image_15042025_02_56_01_3014.jpg', '/home/pi/Desktop/images/15042025/02/55/image_15042025_02_55_01_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/54/image_15042025_11_54_01_7423.jpg
/home/pi/Desktop/images/15042025/11/53/image_15042025_11_53_01_6286.jpg
/home/pi/Desktop/images/15042025/02/58/image_15042025_02_58_02_1986.jpg
/home/pi/Desktop/images/15042025/02/57/image_15042025_02_57_01_7989.jpg
/home/pi/Desktop/images/15042025/02/56/image_15042025_02_56_01_3014.jpg
/home/pi/Desktop/images/15042025/02/55/image_15042025_02_55_01_9931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859847","1349859775","1349859754","1349859805","1349859831","1349859762"],"photo_ids_order":["1349859754","1349859762","1349859775","1349859805","1349859831","1349859847"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce6eda2cab36d1ac56ae2d8c66bc45e4.jpg","text":"TemporaryFile(/tmp/multipartBody727882110193373818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710967989,"filename":"image_15042025_02_55_01_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e558e75b8a0200be9042a91a2a487ef.jpg","text":"TemporaryFile(/tmp/multipartBody7843506957411284809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710967989,"filename":"image_15042025_02_58_02_1986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cb14573b416ec4cef0ec5976c6f5fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7200397827281262832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710967989,"filename":"image_15042025_11_54_01_7423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c324c0016778abef05715d577d12e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2633714749170240430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710967989,"filename":"image_15042025_02_57_01_7989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7960da7341e9954ccad14a0a0a45dfc.jpg","text":"TemporaryFile(/tmp/multipartBody1473918831992452034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710967989,"filename":"image_15042025_02_56_01_3014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/265b65327b68d88008b2ad54c3c7dc5e.jpg","text":"TemporaryFile(/tmp/multipartBody4763424884992671933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710967989,"filename":"image_15042025_11_53_01_6286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859775","file1":"1349859762","file0":"1349859754","file4":"1349859831","file5":"1349859847","file3":"1349859805"},"map_files_photo_id_array":[{"photo_id":"1349859847","filename":"file5"},{"photo_id":"1349859775","filename":"file2"},{"photo_id":"1349859831","filename":"file4"},{"photo_id":"1349859762","filename":"file1"},{"photo_id":"1349859754","filename":"file0"},{"photo_id":"1349859805","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349859847":["hashtag1","hashtag2"]},{"1349859775":["hashtag1","hashtag2"]},{"1349859754":["hashtag1","hashtag2"]},{"1349859805":["hashtag1","hashtag2"]},{"1349859831":["hashtag1","hashtag2"]},{"1349859762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349859847, 1349859775, 1349859754, 1349859805, 1349859831, 1349859762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.51093029975891 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:57:03.261035
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg', 2), ('/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg', 2), ('/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg', 2), ('/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg', 2), ('/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg', 2), ('/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg', '/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg', '/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg', '/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg', '/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg', '/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg
/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg
/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg
/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg
/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg
/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 11:59:03.630540
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/11/55/image_15042025_11_55_01_3104.jpg', 2), ('/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg', 2), ('/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg', 2), ('/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg', 2), ('/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg', 2), ('/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/55/image_15042025_11_55_01_3104.jpg', '/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg', '/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg', '/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg', '/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg', '/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/11/55/image_15042025_11_55_01_3104.jpg
/home/pi/Desktop/images/15042025/02/54/image_15042025_02_54_01_3267.jpg
/home/pi/Desktop/images/15042025/02/51/image_15042025_02_51_01_4416.jpg
/home/pi/Desktop/images/15042025/02/50/image_15042025_02_50_01_8084.jpg
/home/pi/Desktop/images/15042025/02/49/image_15042025_02_49_01_7567.jpg
/home/pi/Desktop/images/15042025/02/48/image_15042025_02_48_01_9557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349860539","1349860332","1349860247","1349860409","1349860480","1349860176"],"photo_ids_order":["1349860176","1349860247","1349860332","1349860409","1349860480","1349860539"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7760f57284253708e725d1351c8b3a04.jpg","text":"TemporaryFile(/tmp/multipartBody6023402305456896095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206915,"filename":"image_15042025_02_48_01_9557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b3bcd8f09bdcf718cdf266cd91c7b57.jpg","text":"TemporaryFile(/tmp/multipartBody8142859045071413927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206915,"filename":"image_15042025_02_51_01_4416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52ed1fcf9234669d706b063c0524fc0a.jpg","text":"TemporaryFile(/tmp/multipartBody2528634547990840454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206915,"filename":"image_15042025_02_54_01_3267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5f720b84640c0fc00758e88d886128d.jpg","text":"TemporaryFile(/tmp/multipartBody4938416770957921939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206915,"filename":"image_15042025_02_50_01_8084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5af703eebfa867164da9674864a59d2.jpg","text":"TemporaryFile(/tmp/multipartBody7425245615056249867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206915,"filename":"image_15042025_02_49_01_7567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64484f69e5e817671eda765e7c62ce5a.jpg","text":"TemporaryFile(/tmp/multipartBody9033432629622852045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206915,"filename":"image_15042025_11_55_01_3104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860332","file1":"1349860247","file0":"1349860176","file4":"1349860480","file5":"1349860539","file3":"1349860409"},"map_files_photo_id_array":[{"photo_id":"1349860539","filename":"file5"},{"photo_id":"1349860332","filename":"file2"},{"photo_id":"1349860480","filename":"file4"},{"photo_id":"1349860247","filename":"file1"},{"photo_id":"1349860176","filename":"file0"},{"photo_id":"1349860409","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349860539":["hashtag1","hashtag2"]},{"1349860332":["hashtag1","hashtag2"]},{"1349860247":["hashtag1","hashtag2"]},{"1349860409":["hashtag1","hashtag2"]},{"1349860480":["hashtag1","hashtag2"]},{"1349860176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349860539, 1349860332, 1349860247, 1349860409, 1349860480, 1349860176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.03049921989441 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:01:03.865876
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg', 2), ('/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', 2), ('/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', 2), ('/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg', 2), ('/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg', 2), ('/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg', '/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg', '/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg', '/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg', '/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg', '/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/02/41/image_15042025_02_41_01_3075.jpg
/home/pi/Desktop/images/15042025/02/40/image_15042025_02_40_01_8934.jpg
/home/pi/Desktop/images/15042025/02/39/image_15042025_02_39_01_4555.jpg
/home/pi/Desktop/images/15042025/02/36/image_15042025_02_36_01_8497.jpg
/home/pi/Desktop/images/15042025/02/35/image_15042025_02_35_01_7122.jpg
/home/pi/Desktop/images/15042025/02/34/image_15042025_02_34_02_2064.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349861098","1349861056","1349861047","1349860972","1349861067","1349861214"],"photo_ids_order":["1349860972","1349861047","1349861056","1349861067","1349861098","1349861214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a15eeea816d78d49aa1d55f35bc28c0.jpg","text":"TemporaryFile(/tmp/multipartBody6175878384869052192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711329503,"filename":"image_15042025_02_35_01_7122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cf59e7ac41068a2befee89fdd85a042.jpg","text":"TemporaryFile(/tmp/multipartBody3156690776033175276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711329503,"filename":"image_15042025_02_39_01_4555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24fa3cacb0c505d1e0e682a403a898f9.jpg","text":"TemporaryFile(/tmp/multipartBody4512885595201381578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711329503,"filename":"image_15042025_02_40_01_8934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6f3a603df13894c04cd017fe73f81ee.jpg","text":"TemporaryFile(/tmp/multipartBody2317890807017513143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711329503,"filename":"image_15042025_02_41_01_3075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b99337e7ca4710b7387d61f55f25999.jpg","text":"TemporaryFile(/tmp/multipartBody4057980385989975760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711329503,"filename":"image_15042025_02_36_01_8497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fae5432dc00a588ebffeda3a1c367fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5439722970589787015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711329503,"filename":"image_15042025_02_34_02_2064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349861056","file1":"1349861047","file0":"1349860972","file4":"1349861098","file5":"1349861214","file3":"1349861067"},"map_files_photo_id_array":[{"photo_id":"1349861214","filename":"file5"},{"photo_id":"1349861056","filename":"file2"},{"photo_id":"1349861098","filename":"file4"},{"photo_id":"1349861047","filename":"file1"},{"photo_id":"1349860972","filename":"file0"},{"photo_id":"1349861067","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349861098":["hashtag1","hashtag2"]},{"1349861056":["hashtag1","hashtag2"]},{"1349861047":["hashtag1","hashtag2"]},{"1349860972":["hashtag1","hashtag2"]},{"1349861067":["hashtag1","hashtag2"]},{"1349861214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349861098, 1349861056, 1349861047, 1349860972, 1349861067, 1349861214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.24947142601013 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:03:03.865861
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/02/image_15042025_12_02_02_2058.jpg', 2), ('/home/pi/Desktop/images/15042025/11/59/image_15042025_11_59_01_3216.jpg', 2), ('/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', 2), ('/home/pi/Desktop/images/15042025/02/32/image_15042025_02_32_02_2925.jpg', 2), ('/home/pi/Desktop/images/15042025/02/26/image_15042025_02_26_02_2873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/02/image_15042025_12_02_02_2058.jpg', '/home/pi/Desktop/images/15042025/11/59/image_15042025_11_59_01_3216.jpg', '/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg', '/home/pi/Desktop/images/15042025/02/32/image_15042025_02_32_02_2925.jpg', '/home/pi/Desktop/images/15042025/02/26/image_15042025_02_26_02_2873.jpg', '/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/02/image_15042025_12_02_02_2058.jpg
/home/pi/Desktop/images/15042025/11/59/image_15042025_11_59_01_3216.jpg
/home/pi/Desktop/images/15042025/02/33/image_15042025_02_33_01_8711.jpg
/home/pi/Desktop/images/15042025/02/32/image_15042025_02_32_02_2925.jpg
/home/pi/Desktop/images/15042025/02/26/image_15042025_02_26_02_2873.jpg
/home/pi/Desktop/images/15042025/02/23/image_15042025_02_23_01_8842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349862575","1349862394","1349863398","1349862877","1349862712","1349863091"],"photo_ids_order":["1349862394","1349862575","1349862712","1349862877","1349863091","1349863398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d99ed23fc0b6569ea9e93329e9731487.jpg","text":"TemporaryFile(/tmp/multipartBody6251738021048694292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711447992,"filename":"image_15042025_11_59_01_3216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4ddf34847cb9af808737e69aaacefdf.jpg","text":"TemporaryFile(/tmp/multipartBody5390766976321016258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711447992,"filename":"image_15042025_12_02_02_2058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/117c78371538bdb79d0ea179de871ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3057775986518071733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711447992,"filename":"image_15042025_02_23_01_8842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f198f775a96b3a778f7063819e89634.jpg","text":"TemporaryFile(/tmp/multipartBody237213615308168577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711447992,"filename":"image_15042025_02_32_02_2925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80f68ee2225bf7c7a9b578a3e8b423df.jpg","text":"TemporaryFile(/tmp/multipartBody7785151073007981268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711447992,"filename":"image_15042025_02_33_01_8711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e449b6a03aab9853d9744db8d1ed534.jpg","text":"TemporaryFile(/tmp/multipartBody2464792023485197482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711447992,"filename":"image_15042025_02_26_02_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349862712","file1":"1349862575","file0":"1349862394","file4":"1349863091","file5":"1349863398","file3":"1349862877"},"map_files_photo_id_array":[{"photo_id":"1349863398","filename":"file5"},{"photo_id":"1349862712","filename":"file2"},{"photo_id":"1349863091","filename":"file4"},{"photo_id":"1349862575","filename":"file1"},{"photo_id":"1349862394","filename":"file0"},{"photo_id":"1349862877","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349862575":["hashtag1","hashtag2"]},{"1349862394":["hashtag1","hashtag2"]},{"1349863398":["hashtag1","hashtag2"]},{"1349862877":["hashtag1","hashtag2"]},{"1349862712":["hashtag1","hashtag2"]},{"1349863091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349862575, 1349862394, 1349863398, 1349862877, 1349862712, 1349863091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.273484230041504 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:05:03.774614
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_02_1449.jpg', 2), ('/home/pi/Desktop/images/15042025/12/03/image_15042025_12_03_01_9506.jpg', 2), ('/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg', 2), ('/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg', 2), ('/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', 2), ('/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_02_1449.jpg', '/home/pi/Desktop/images/15042025/12/03/image_15042025_12_03_01_9506.jpg', '/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg', '/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg', '/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg', '/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_02_1449.jpg
/home/pi/Desktop/images/15042025/12/03/image_15042025_12_03_01_9506.jpg
/home/pi/Desktop/images/15042025/02/21/image_15042025_02_21_01_4873.jpg
/home/pi/Desktop/images/15042025/02/18/image_15042025_02_18_01_3061.jpg
/home/pi/Desktop/images/15042025/02/15/image_15042025_02_15_01_9226.jpg
/home/pi/Desktop/images/15042025/02/12/image_15042025_02_12_01_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349864713","1349865015","1349864631","1349865101","1349864933","1349865160"],"photo_ids_order":["1349864631","1349864713","1349864933","1349865015","1349865101","1349865160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd960012f2ea358f6c12ba81c5378d04.jpg","text":"TemporaryFile(/tmp/multipartBody4806833950499231525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711568045,"filename":"image_15042025_12_03_01_9506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8263bbd02c1a30e3bb233419091692b2.jpg","text":"TemporaryFile(/tmp/multipartBody3427069903419247863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711568045,"filename":"image_15042025_02_18_01_3061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10960efaa3eda3ee30bdb1313ff4512f.jpg","text":"TemporaryFile(/tmp/multipartBody6482329597187328521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711568045,"filename":"image_15042025_12_04_02_1449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4aa8288237b545063d66ef559d6cf72e.jpg","text":"TemporaryFile(/tmp/multipartBody5476649588143056005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711568045,"filename":"image_15042025_02_15_01_9226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35c4e93b216624868e41cda691d306fe.jpg","text":"TemporaryFile(/tmp/multipartBody5107757174292072700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711568045,"filename":"image_15042025_02_21_01_4873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7a29435548b9ac207d1f19bbfa68792.jpg","text":"TemporaryFile(/tmp/multipartBody4867556034007553589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711568045,"filename":"image_15042025_02_12_01_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349864933","file1":"1349864713","file0":"1349864631","file4":"1349865101","file5":"1349865160","file3":"1349865015"},"map_files_photo_id_array":[{"photo_id":"1349865160","filename":"file5"},{"photo_id":"1349864933","filename":"file2"},{"photo_id":"1349865101","filename":"file4"},{"photo_id":"1349864713","filename":"file1"},{"photo_id":"1349864631","filename":"file0"},{"photo_id":"1349865015","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349864713":["hashtag1","hashtag2"]},{"1349865015":["hashtag1","hashtag2"]},{"1349864631":["hashtag1","hashtag2"]},{"1349865101":["hashtag1","hashtag2"]},{"1349864933":["hashtag1","hashtag2"]},{"1349865160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349864713, 1349865015, 1349864631, 1349865101, 1349864933, 1349865160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.15885591506958 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:07:03.585706
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_01_9506.jpg', 2), ('/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_01_6182.jpg', 2), ('/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', 2), ('/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', 2), ('/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg', 2), ('/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_01_9506.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_01_6182.jpg', '/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg', '/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg', '/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg', '/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_01_9506.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_01_6182.jpg
/home/pi/Desktop/images/15042025/02/11/image_15042025_02_11_02_0900.jpg
/home/pi/Desktop/images/15042025/02/09/image_15042025_02_09_01_3369.jpg
/home/pi/Desktop/images/15042025/02/08/image_15042025_02_08_01_7415.jpg
/home/pi/Desktop/images/15042025/02/07/image_15042025_02_07_01_5011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349865615","1349865816","1349865575","1349865599","1349865892","1349865703"],"photo_ids_order":["1349865575","1349865599","1349865615","1349865703","1349865816","1349865892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80f99e84632628f6d2d0af5dca299751.jpg","text":"TemporaryFile(/tmp/multipartBody8817841412038685410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711687830,"filename":"image_15042025_02_11_02_0900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7392e1803d090e878c939f9cd8b140b8.jpg","text":"TemporaryFile(/tmp/multipartBody2257946111251030620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711687830,"filename":"image_15042025_02_08_01_7415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc46c2029f72a0258fa7e3aed7d9c018.jpg","text":"TemporaryFile(/tmp/multipartBody2341024317453858614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711687830,"filename":"image_15042025_12_06_01_9506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0012cc851cc4cc91153d9e8da9c25b34.jpg","text":"TemporaryFile(/tmp/multipartBody441483928044004660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711687830,"filename":"image_15042025_12_05_01_6182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b01f8327866ec7c77de9981b55e9e64.jpg","text":"TemporaryFile(/tmp/multipartBody7573573970541642765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711687830,"filename":"image_15042025_02_07_01_5011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf5fbf853465deed0ae233fccec816f8.jpg","text":"TemporaryFile(/tmp/multipartBody1471765248267888961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711687830,"filename":"image_15042025_02_09_01_3369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865615","file1":"1349865599","file0":"1349865575","file4":"1349865816","file5":"1349865892","file3":"1349865703"},"map_files_photo_id_array":[{"photo_id":"1349865892","filename":"file5"},{"photo_id":"1349865615","filename":"file2"},{"photo_id":"1349865816","filename":"file4"},{"photo_id":"1349865599","filename":"file1"},{"photo_id":"1349865575","filename":"file0"},{"photo_id":"1349865703","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349865615":["hashtag1","hashtag2"]},{"1349865816":["hashtag1","hashtag2"]},{"1349865575":["hashtag1","hashtag2"]},{"1349865599":["hashtag1","hashtag2"]},{"1349865892":["hashtag1","hashtag2"]},{"1349865703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349865615, 1349865816, 1349865575, 1349865599, 1349865892, 1349865703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.913580656051636 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:09:03.618145
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_02_0175.jpg', 2), ('/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_01_7803.jpg', 2), ('/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg', 2), ('/home/pi/Desktop/images/15042025/02/05/image_15042025_02_05_02_0032.jpg', 2), ('/home/pi/Desktop/images/15042025/02/02/image_15042025_02_02_01_6023.jpg', 2), ('/home/pi/Desktop/images/15042025/02/00/image_15042025_02_00_01_7677.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_02_0175.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_01_7803.jpg', '/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg', '/home/pi/Desktop/images/15042025/02/05/image_15042025_02_05_02_0032.jpg', '/home/pi/Desktop/images/15042025/02/02/image_15042025_02_02_01_6023.jpg', '/home/pi/Desktop/images/15042025/02/00/image_15042025_02_00_01_7677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_02_0175.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_01_7803.jpg
/home/pi/Desktop/images/15042025/02/06/image_15042025_02_06_02_0658.jpg
/home/pi/Desktop/images/15042025/02/05/image_15042025_02_05_02_0032.jpg
/home/pi/Desktop/images/15042025/02/02/image_15042025_02_02_01_6023.jpg
/home/pi/Desktop/images/15042025/02/00/image_15042025_02_00_01_7677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349866626","1349866697","1349866401","1349866448","1349866588","1349866510"],"photo_ids_order":["1349866401","1349866448","1349866510","1349866588","1349866626","1349866697"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ed143ba9566707c8eecc4adc4454806.jpg","text":"TemporaryFile(/tmp/multipartBody6419480064180324683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711807724,"filename":"image_15042025_02_02_01_6023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/070429d4500f8e37e81bfa7b737d3ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4299920563195540032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711807724,"filename":"image_15042025_02_00_01_7677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e9a21ce675908552774798c08bcc982.jpg","text":"TemporaryFile(/tmp/multipartBody7327082122049410036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711807724,"filename":"image_15042025_12_08_02_0175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/206b7f40259eb65c939a5b14691480fd.jpg","text":"TemporaryFile(/tmp/multipartBody3777227261087135606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711807724,"filename":"image_15042025_12_07_01_7803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/040eff6c07a7089702314ea8a3710efe.jpg","text":"TemporaryFile(/tmp/multipartBody7254369991320071237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711807724,"filename":"image_15042025_02_05_02_0032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe4b41b06d9286fcbce167d3f180df1f.jpg","text":"TemporaryFile(/tmp/multipartBody7008177078851109985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711807724,"filename":"image_15042025_02_06_02_0658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866510","file1":"1349866448","file0":"1349866401","file4":"1349866626","file5":"1349866697","file3":"1349866588"},"map_files_photo_id_array":[{"photo_id":"1349866697","filename":"file5"},{"photo_id":"1349866510","filename":"file2"},{"photo_id":"1349866626","filename":"file4"},{"photo_id":"1349866448","filename":"file1"},{"photo_id":"1349866401","filename":"file0"},{"photo_id":"1349866588","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349866626":["hashtag1","hashtag2"]},{"1349866697":["hashtag1","hashtag2"]},{"1349866401":["hashtag1","hashtag2"]},{"1349866448":["hashtag1","hashtag2"]},{"1349866588":["hashtag1","hashtag2"]},{"1349866510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349866626, 1349866697, 1349866401, 1349866448, 1349866588, 1349866510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.4296236038208 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:11:03.994199
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_01_9427.jpg', 2), ('/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_01_7127.jpg', 2), ('/home/pi/Desktop/images/15042025/01/59/image_15042025_01_59_01_5192.jpg', 2), ('/home/pi/Desktop/images/15042025/01/58/image_15042025_01_58_01_9871.jpg', 2), ('/home/pi/Desktop/images/15042025/01/57/image_15042025_01_57_01_5652.jpg', 2), ('/home/pi/Desktop/images/15042025/01/52/image_15042025_01_52_01_8172.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_01_9427.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_01_7127.jpg', '/home/pi/Desktop/images/15042025/01/59/image_15042025_01_59_01_5192.jpg', '/home/pi/Desktop/images/15042025/01/58/image_15042025_01_58_01_9871.jpg', '/home/pi/Desktop/images/15042025/01/57/image_15042025_01_57_01_5652.jpg', '/home/pi/Desktop/images/15042025/01/52/image_15042025_01_52_01_8172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_01_9427.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_01_7127.jpg
/home/pi/Desktop/images/15042025/01/59/image_15042025_01_59_01_5192.jpg
/home/pi/Desktop/images/15042025/01/58/image_15042025_01_58_01_9871.jpg
/home/pi/Desktop/images/15042025/01/57/image_15042025_01_57_01_5652.jpg
/home/pi/Desktop/images/15042025/01/52/image_15042025_01_52_01_8172.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867278","1349867170","1349867260","1349867208","1349867291","1349867217"],"photo_ids_order":["1349867170","1349867208","1349867217","1349867260","1349867278","1349867291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d15b72c57a4fd78651ec6d5c7923d98a.jpg","text":"TemporaryFile(/tmp/multipartBody3371516111896044030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711928142,"filename":"image_15042025_01_57_01_5652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8a523754060d432f98d5c739b75f68b.jpg","text":"TemporaryFile(/tmp/multipartBody8397393663579662310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711928142,"filename":"image_15042025_12_10_01_9427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8593c5f85e33b64ae247765fa1676060.jpg","text":"TemporaryFile(/tmp/multipartBody4796362972884536793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711928142,"filename":"image_15042025_01_58_01_9871.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58df0618da90400565b8d6e3f7acd2d1.jpg","text":"TemporaryFile(/tmp/multipartBody8382071332644709557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711928142,"filename":"image_15042025_12_09_01_7127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05aa1f4437bc5f048f4724bdd59b635f.jpg","text":"TemporaryFile(/tmp/multipartBody2165538644651390584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711928142,"filename":"image_15042025_01_52_01_8172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04b3e3767cf2cb90db785dd37f083045.jpg","text":"TemporaryFile(/tmp/multipartBody1996673646321696663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711928142,"filename":"image_15042025_01_59_01_5192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867217","file1":"1349867208","file0":"1349867170","file4":"1349867278","file5":"1349867291","file3":"1349867260"},"map_files_photo_id_array":[{"photo_id":"1349867291","filename":"file5"},{"photo_id":"1349867217","filename":"file2"},{"photo_id":"1349867278","filename":"file4"},{"photo_id":"1349867208","filename":"file1"},{"photo_id":"1349867170","filename":"file0"},{"photo_id":"1349867260","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349867278":["hashtag1","hashtag2"]},{"1349867170":["hashtag1","hashtag2"]},{"1349867260":["hashtag1","hashtag2"]},{"1349867208":["hashtag1","hashtag2"]},{"1349867291":["hashtag1","hashtag2"]},{"1349867217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349867278, 1349867170, 1349867260, 1349867208, 1349867291, 1349867217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.14686989784241 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:13:03.961138
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_02_1860.jpg', 2), ('/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_01_8055.jpg', 2), ('/home/pi/Desktop/images/15042025/01/51/image_15042025_01_51_01_6266.jpg', 2), ('/home/pi/Desktop/images/15042025/01/50/image_15042025_01_50_02_0510.jpg', 2), ('/home/pi/Desktop/images/15042025/01/49/image_15042025_01_49_01_8582.jpg', 2), ('/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_01_8928.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_02_1860.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_01_8055.jpg', '/home/pi/Desktop/images/15042025/01/51/image_15042025_01_51_01_6266.jpg', '/home/pi/Desktop/images/15042025/01/50/image_15042025_01_50_02_0510.jpg', '/home/pi/Desktop/images/15042025/01/49/image_15042025_01_49_01_8582.jpg', '/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_01_8928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_02_1860.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_01_8055.jpg
/home/pi/Desktop/images/15042025/01/51/image_15042025_01_51_01_6266.jpg
/home/pi/Desktop/images/15042025/01/50/image_15042025_01_50_02_0510.jpg
/home/pi/Desktop/images/15042025/01/49/image_15042025_01_49_01_8582.jpg
/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_01_8928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867771","1349867759","1349867825","1349867886","1349867748","1349867739"],"photo_ids_order":["1349867739","1349867748","1349867759","1349867771","1349867825","1349867886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aedc82e3a6d04c4e8181fd1553a8ac37.jpg","text":"TemporaryFile(/tmp/multipartBody213500749195396591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712047901,"filename":"image_15042025_01_50_02_0510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e01942626a5a34ecdb3df28a19f6680a.jpg","text":"TemporaryFile(/tmp/multipartBody2156241778269186451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712047901,"filename":"image_15042025_01_51_01_6266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdabd17f89102d850d06957e046f7cef.jpg","text":"TemporaryFile(/tmp/multipartBody111393675754705995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712047901,"filename":"image_15042025_01_49_01_8582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f164c30c04855c53160456a80419dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8376235373459782470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712047901,"filename":"image_15042025_01_47_01_8928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d336ff11c3392d62c42a745b88b73d0d.jpg","text":"TemporaryFile(/tmp/multipartBody3048908147378983493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712047901,"filename":"image_15042025_12_11_01_8055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7233bca69b171b067e122e2649af262e.jpg","text":"TemporaryFile(/tmp/multipartBody70064956466505046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712047901,"filename":"image_15042025_12_12_02_1860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867759","file1":"1349867748","file0":"1349867739","file4":"1349867825","file5":"1349867886","file3":"1349867771"},"map_files_photo_id_array":[{"photo_id":"1349867886","filename":"file5"},{"photo_id":"1349867759","filename":"file2"},{"photo_id":"1349867825","filename":"file4"},{"photo_id":"1349867748","filename":"file1"},{"photo_id":"1349867739","filename":"file0"},{"photo_id":"1349867771","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349867771":["hashtag1","hashtag2"]},{"1349867759":["hashtag1","hashtag2"]},{"1349867825":["hashtag1","hashtag2"]},{"1349867886":["hashtag1","hashtag2"]},{"1349867748":["hashtag1","hashtag2"]},{"1349867739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349867771, 1349867759, 1349867825, 1349867886, 1349867748, 1349867739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.78282451629639 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:15:03.887803
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_02_2380.jpg', 2), ('/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_02_1001.jpg', 2), ('/home/pi/Desktop/images/15042025/01/46/image_15042025_01_46_01_6329.jpg', 2), ('/home/pi/Desktop/images/15042025/01/45/image_15042025_01_45_01_3625.jpg', 2), ('/home/pi/Desktop/images/15042025/01/44/image_15042025_01_44_01_8917.jpg', 2), ('/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_01_6183.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_02_2380.jpg', '/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_02_1001.jpg', '/home/pi/Desktop/images/15042025/01/46/image_15042025_01_46_01_6329.jpg', '/home/pi/Desktop/images/15042025/01/45/image_15042025_01_45_01_3625.jpg', '/home/pi/Desktop/images/15042025/01/44/image_15042025_01_44_01_8917.jpg', '/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_01_6183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_02_2380.jpg
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_02_1001.jpg
/home/pi/Desktop/images/15042025/01/46/image_15042025_01_46_01_6329.jpg
/home/pi/Desktop/images/15042025/01/45/image_15042025_01_45_01_3625.jpg
/home/pi/Desktop/images/15042025/01/44/image_15042025_01_44_01_8917.jpg
/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_01_6183.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868277","1349868200","1349868288","1349868264","1349868188","1349868167"],"photo_ids_order":["1349868167","1349868188","1349868200","1349868264","1349868277","1349868288"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16ec91520312e29cba02d3d386e3c4b2.jpg","text":"TemporaryFile(/tmp/multipartBody4195885758266105046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712167787,"filename":"image_15042025_01_44_01_8917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9e46aa56b5fcc4f857b816ef8e1f24c.jpg","text":"TemporaryFile(/tmp/multipartBody7292666241838304234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712167787,"filename":"image_15042025_01_46_01_6329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61762b6bfb631ec7a26becddd258d10f.jpg","text":"TemporaryFile(/tmp/multipartBody7892785906931653764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712167787,"filename":"image_15042025_01_43_01_6183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53deed9916dfa19b7efc33838fd128fb.jpg","text":"TemporaryFile(/tmp/multipartBody1746557811307261630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712167787,"filename":"image_15042025_01_45_01_3625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6072bc9ae850c7ef6d467da1e1b708b6.jpg","text":"TemporaryFile(/tmp/multipartBody3385975043037559068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712167787,"filename":"image_15042025_12_13_02_1001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1eff7e78441db43f934c6e11c222e05.jpg","text":"TemporaryFile(/tmp/multipartBody2686040821328439721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712167787,"filename":"image_15042025_12_14_02_2380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868200","file1":"1349868188","file0":"1349868167","file4":"1349868277","file5":"1349868288","file3":"1349868264"},"map_files_photo_id_array":[{"photo_id":"1349868288","filename":"file5"},{"photo_id":"1349868200","filename":"file2"},{"photo_id":"1349868277","filename":"file4"},{"photo_id":"1349868188","filename":"file1"},{"photo_id":"1349868167","filename":"file0"},{"photo_id":"1349868264","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349868277":["hashtag1","hashtag2"]},{"1349868200":["hashtag1","hashtag2"]},{"1349868288":["hashtag1","hashtag2"]},{"1349868264":["hashtag1","hashtag2"]},{"1349868188":["hashtag1","hashtag2"]},{"1349868167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349868277, 1349868200, 1349868288, 1349868264, 1349868188, 1349868167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.41356158256531 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:17:03.876642
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_02_1736.jpg', 2), ('/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_01_8081.jpg', 2), ('/home/pi/Desktop/images/15042025/01/42/image_15042025_01_42_01_9957.jpg', 2), ('/home/pi/Desktop/images/15042025/01/41/image_15042025_01_41_01_7921.jpg', 2), ('/home/pi/Desktop/images/15042025/01/40/image_15042025_01_40_02_0972.jpg', 2), ('/home/pi/Desktop/images/15042025/01/37/image_15042025_01_37_01_3511.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_02_1736.jpg', '/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_01_8081.jpg', '/home/pi/Desktop/images/15042025/01/42/image_15042025_01_42_01_9957.jpg', '/home/pi/Desktop/images/15042025/01/41/image_15042025_01_41_01_7921.jpg', '/home/pi/Desktop/images/15042025/01/40/image_15042025_01_40_02_0972.jpg', '/home/pi/Desktop/images/15042025/01/37/image_15042025_01_37_01_3511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_02_1736.jpg
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_01_8081.jpg
/home/pi/Desktop/images/15042025/01/42/image_15042025_01_42_01_9957.jpg
/home/pi/Desktop/images/15042025/01/41/image_15042025_01_41_01_7921.jpg
/home/pi/Desktop/images/15042025/01/40/image_15042025_01_40_02_0972.jpg
/home/pi/Desktop/images/15042025/01/37/image_15042025_01_37_01_3511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868434","1349868616","1349868497","1349868671","1349868659","1349868545"],"photo_ids_order":["1349868434","1349868497","1349868545","1349868616","1349868659","1349868671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b657db2831b1d36d9d2af2a57c91ba59.jpg","text":"TemporaryFile(/tmp/multipartBody372681728106138490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712287921,"filename":"image_15042025_12_16_02_1736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de6dc931cbab1197ee530399070f6d2f.jpg","text":"TemporaryFile(/tmp/multipartBody4201173683602694158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712287921,"filename":"image_15042025_01_41_01_7921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2219c5bc9e1a427ad47f004e454153a7.jpg","text":"TemporaryFile(/tmp/multipartBody8590908840630266584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712287921,"filename":"image_15042025_12_15_01_8081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d9ecaf055d63c7d1f13148bd5c59d23.jpg","text":"TemporaryFile(/tmp/multipartBody8044228461547661790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712287921,"filename":"image_15042025_01_37_01_3511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc61343bba8ab26294924b838b175ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2438153159054627989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712287921,"filename":"image_15042025_01_40_02_0972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/932188c54cc329b39e01978727da4793.jpg","text":"TemporaryFile(/tmp/multipartBody3064016235425244598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712287921,"filename":"image_15042025_01_42_01_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868545","file1":"1349868497","file0":"1349868434","file4":"1349868659","file5":"1349868671","file3":"1349868616"},"map_files_photo_id_array":[{"photo_id":"1349868671","filename":"file5"},{"photo_id":"1349868545","filename":"file2"},{"photo_id":"1349868659","filename":"file4"},{"photo_id":"1349868497","filename":"file1"},{"photo_id":"1349868434","filename":"file0"},{"photo_id":"1349868616","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349868434":["hashtag1","hashtag2"]},{"1349868616":["hashtag1","hashtag2"]},{"1349868497":["hashtag1","hashtag2"]},{"1349868671":["hashtag1","hashtag2"]},{"1349868659":["hashtag1","hashtag2"]},{"1349868545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349868434, 1349868616, 1349868497, 1349868671, 1349868659, 1349868545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.56755042076111 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:19:03.592137
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_02_0078.jpg', 2), ('/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_01_7410.jpg', 2), ('/home/pi/Desktop/images/15042025/01/34/image_15042025_01_34_01_6385.jpg', 2), ('/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg', 2), ('/home/pi/Desktop/images/15042025/01/31/image_15042025_01_31_01_7418.jpg', 2), ('/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_02_0078.jpg', '/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_01_7410.jpg', '/home/pi/Desktop/images/15042025/01/34/image_15042025_01_34_01_6385.jpg', '/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg', '/home/pi/Desktop/images/15042025/01/31/image_15042025_01_31_01_7418.jpg', '/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_02_0078.jpg
/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_01_7410.jpg
/home/pi/Desktop/images/15042025/01/34/image_15042025_01_34_01_6385.jpg
/home/pi/Desktop/images/15042025/01/33/image_15042025_01_33_01_5273.jpg
/home/pi/Desktop/images/15042025/01/31/image_15042025_01_31_01_7418.jpg
/home/pi/Desktop/images/15042025/01/30/image_15042025_01_30_02_0649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868910","1349868888","1349868954","1349869026","1349869001","1349868929"],"photo_ids_order":["1349868888","1349868910","1349868929","1349868954","1349869001","1349869026"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc6f4abd4a5430b65ccca495c53c2106.jpg","text":"TemporaryFile(/tmp/multipartBody7084328375638420256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712407611,"filename":"image_15042025_12_17_01_7410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b5b770156291586de691caeb0bae3ff.jpg","text":"TemporaryFile(/tmp/multipartBody78294778116095057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712407611,"filename":"image_15042025_12_18_02_0078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4de6274939258259420db89055c94f6f.jpg","text":"TemporaryFile(/tmp/multipartBody225150976768109493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712407611,"filename":"image_15042025_01_33_01_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86c118329d4c00b23865ba8f5265e403.jpg","text":"TemporaryFile(/tmp/multipartBody5566313456567325292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712407611,"filename":"image_15042025_01_30_02_0649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/203f570de0c3590f714c589f5365c466.jpg","text":"TemporaryFile(/tmp/multipartBody9113204227565189051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712407611,"filename":"image_15042025_01_31_01_7418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21409b56052c74cbf0421b5a329a283d.jpg","text":"TemporaryFile(/tmp/multipartBody8556488450162880687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712407611,"filename":"image_15042025_01_34_01_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868929","file1":"1349868910","file0":"1349868888","file4":"1349869001","file5":"1349869026","file3":"1349868954"},"map_files_photo_id_array":[{"photo_id":"1349869026","filename":"file5"},{"photo_id":"1349868929","filename":"file2"},{"photo_id":"1349869001","filename":"file4"},{"photo_id":"1349868910","filename":"file1"},{"photo_id":"1349868888","filename":"file0"},{"photo_id":"1349868954","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349868910":["hashtag1","hashtag2"]},{"1349868888":["hashtag1","hashtag2"]},{"1349868954":["hashtag1","hashtag2"]},{"1349869026":["hashtag1","hashtag2"]},{"1349869001":["hashtag1","hashtag2"]},{"1349868929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349868910, 1349868888, 1349868954, 1349869026, 1349869001, 1349868929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.06811165809631 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:21:03.437593
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_01_9324.jpg', 2), ('/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_01_6174.jpg', 2), ('/home/pi/Desktop/images/15042025/01/29/image_15042025_01_29_01_8784.jpg', 2), ('/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg', 2), ('/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_01_5653.jpg', 2), ('/home/pi/Desktop/images/15042025/01/26/image_15042025_01_26_01_5826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_01_9324.jpg', '/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_01_6174.jpg', '/home/pi/Desktop/images/15042025/01/29/image_15042025_01_29_01_8784.jpg', '/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg', '/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_01_5653.jpg', '/home/pi/Desktop/images/15042025/01/26/image_15042025_01_26_01_5826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_01_9324.jpg
/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_01_6174.jpg
/home/pi/Desktop/images/15042025/01/29/image_15042025_01_29_01_8784.jpg
/home/pi/Desktop/images/15042025/01/28/image_15042025_01_28_01_9870.jpg
/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_01_5653.jpg
/home/pi/Desktop/images/15042025/01/26/image_15042025_01_26_01_5826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349869444","1349869458","1349869317","1349869404","1349869481","1349869349"],"photo_ids_order":["1349869317","1349869349","1349869404","1349869444","1349869458","1349869481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/938d35a43ba86ba6522405a0ab19cdd4.jpg","text":"TemporaryFile(/tmp/multipartBody727024637409976728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712527322,"filename":"image_15042025_01_28_01_9870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3552f9471c38d89222e8bd426d108d8.jpg","text":"TemporaryFile(/tmp/multipartBody8176796389279517486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712527322,"filename":"image_15042025_01_27_01_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8800990350014c0e9dc65b9c1f3a668f.jpg","text":"TemporaryFile(/tmp/multipartBody2457621104364678112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712527322,"filename":"image_15042025_12_20_01_9324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f197231da30fa9b9e1861799bbb4cb15.jpg","text":"TemporaryFile(/tmp/multipartBody2728812684256976285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712527322,"filename":"image_15042025_01_29_01_8784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea64dac6f1bbe22c999d24f99aee2e3a.jpg","text":"TemporaryFile(/tmp/multipartBody5880924762920039069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712527322,"filename":"image_15042025_01_26_01_5826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19ec2e302029045d905bc2126f7eb099.jpg","text":"TemporaryFile(/tmp/multipartBody4927034649528720101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712527322,"filename":"image_15042025_12_19_01_6174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869404","file1":"1349869349","file0":"1349869317","file4":"1349869458","file5":"1349869481","file3":"1349869444"},"map_files_photo_id_array":[{"photo_id":"1349869481","filename":"file5"},{"photo_id":"1349869404","filename":"file2"},{"photo_id":"1349869458","filename":"file4"},{"photo_id":"1349869349","filename":"file1"},{"photo_id":"1349869317","filename":"file0"},{"photo_id":"1349869444","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349869444":["hashtag1","hashtag2"]},{"1349869458":["hashtag1","hashtag2"]},{"1349869317":["hashtag1","hashtag2"]},{"1349869404":["hashtag1","hashtag2"]},{"1349869481":["hashtag1","hashtag2"]},{"1349869349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349869444, 1349869458, 1349869317, 1349869404, 1349869481, 1349869349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.45769000053406 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:23:03.371916
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_01_3475.jpg', 2), ('/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_01_5727.jpg', 2), ('/home/pi/Desktop/images/15042025/01/25/image_15042025_01_25_01_9469.jpg', 2), ('/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_01_9710.jpg', 2), ('/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/15042025/01/17/image_15042025_01_17_01_5081.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_01_3475.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_01_5727.jpg', '/home/pi/Desktop/images/15042025/01/25/image_15042025_01_25_01_9469.jpg', '/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_01_9710.jpg', '/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_01_5080.jpg', '/home/pi/Desktop/images/15042025/01/17/image_15042025_01_17_01_5081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_01_3475.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_01_5727.jpg
/home/pi/Desktop/images/15042025/01/25/image_15042025_01_25_01_9469.jpg
/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_01_9710.jpg
/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_01_5080.jpg
/home/pi/Desktop/images/15042025/01/17/image_15042025_01_17_01_5081.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870141","1349870300","1349870191","1349870287","1349870134","1349870253"],"photo_ids_order":["1349870134","1349870141","1349870191","1349870253","1349870287","1349870300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c27e92b70226dae0345998e6abf7fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody8633444278953303452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712647560,"filename":"image_15042025_12_21_01_5727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43a81a446f63f9a24c3bcb55f370b891.jpg","text":"TemporaryFile(/tmp/multipartBody4745034998446696065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712647560,"filename":"image_15042025_01_17_01_5081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2146cb24b6bbeae2d2ee7df356a864f2.jpg","text":"TemporaryFile(/tmp/multipartBody8838636353211856068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712647560,"filename":"image_15042025_01_25_01_9469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8314b9e352c9c9f30d2893d1a9b3b0c.jpg","text":"TemporaryFile(/tmp/multipartBody305505673625675267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712647560,"filename":"image_15042025_01_22_01_5080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cab379a20a98b602401a6dcbba5b2b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4579280247634441400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712647560,"filename":"image_15042025_12_23_01_3475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd393c2dbd7e07a40cc8db03d3c91cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8217613501349313883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712647560,"filename":"image_15042025_01_23_01_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870191","file1":"1349870141","file0":"1349870134","file4":"1349870287","file5":"1349870300","file3":"1349870253"},"map_files_photo_id_array":[{"photo_id":"1349870300","filename":"file5"},{"photo_id":"1349870191","filename":"file2"},{"photo_id":"1349870287","filename":"file4"},{"photo_id":"1349870141","filename":"file1"},{"photo_id":"1349870134","filename":"file0"},{"photo_id":"1349870253","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349870141":["hashtag1","hashtag2"]},{"1349870300":["hashtag1","hashtag2"]},{"1349870191":["hashtag1","hashtag2"]},{"1349870287":["hashtag1","hashtag2"]},{"1349870134":["hashtag1","hashtag2"]},{"1349870253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349870141, 1349870300, 1349870191, 1349870287, 1349870134, 1349870253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.82238745689392 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:25:07.632569
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_01_4899.jpg', 2), ('/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_01_6520.jpg', 2), ('/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg', 2), ('/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg', 2), ('/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg', 2), ('/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_01_4899.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_01_6520.jpg', '/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg', '/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg', '/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg', '/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_01_4899.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_01_6520.jpg
/home/pi/Desktop/images/15042025/01/16/image_15042025_01_16_02_0546.jpg
/home/pi/Desktop/images/15042025/01/13/image_15042025_01_13_02_0577.jpg
/home/pi/Desktop/images/15042025/01/12/image_15042025_01_12_01_3769.jpg
/home/pi/Desktop/images/15042025/01/11/image_15042025_01_11_02_2276.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870584","1349870515","1349870634","1349870613","1349870627","1349870540"],"photo_ids_order":["1349870515","1349870540","1349870584","1349870613","1349870627","1349870634"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f5ff39b7a77109fb59af38262b909a3.jpg","text":"TemporaryFile(/tmp/multipartBody7360742690479581005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712774075,"filename":"image_15042025_01_16_02_0546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0114da11151f88458fbd3c631a3c607.jpg","text":"TemporaryFile(/tmp/multipartBody7496698734769166387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712774075,"filename":"image_15042025_12_24_01_4899.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71aee89d5772d9f86fa63d61ebf385dd.jpg","text":"TemporaryFile(/tmp/multipartBody6525709200511491812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712774075,"filename":"image_15042025_01_11_02_2276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aabcccb9f5d9e4e6752451692990f1d2.jpg","text":"TemporaryFile(/tmp/multipartBody2185980151005188759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712774075,"filename":"image_15042025_01_13_02_0577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca23b223551f51e00bf4717de55a21c1.jpg","text":"TemporaryFile(/tmp/multipartBody1231705037546477825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712774075,"filename":"image_15042025_01_12_01_3769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65143946586402c2a29f1ca1552811ba.jpg","text":"TemporaryFile(/tmp/multipartBody4468457448681180241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712774075,"filename":"image_15042025_12_22_01_6520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870584","file1":"1349870540","file0":"1349870515","file4":"1349870627","file5":"1349870634","file3":"1349870613"},"map_files_photo_id_array":[{"photo_id":"1349870634","filename":"file5"},{"photo_id":"1349870584","filename":"file2"},{"photo_id":"1349870627","filename":"file4"},{"photo_id":"1349870540","filename":"file1"},{"photo_id":"1349870515","filename":"file0"},{"photo_id":"1349870613","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349870584":["hashtag1","hashtag2"]},{"1349870515":["hashtag1","hashtag2"]},{"1349870634":["hashtag1","hashtag2"]},{"1349870613":["hashtag1","hashtag2"]},{"1349870627":["hashtag1","hashtag2"]},{"1349870540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349870584, 1349870515, 1349870634, 1349870613, 1349870627, 1349870540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.61887240409851 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:27:04.772796
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_01_9430.jpg', 2), ('/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_01_4402.jpg', 2), ('/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg', 2), ('/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg', 2), ('/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_01_3658.jpg', 2), ('/home/pi/Desktop/images/15042025/01/02/image_15042025_01_02_01_4495.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_01_9430.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_01_4402.jpg', '/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg', '/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg', '/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_01_3658.jpg', '/home/pi/Desktop/images/15042025/01/02/image_15042025_01_02_01_4495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_01_9430.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_01_4402.jpg
/home/pi/Desktop/images/15042025/01/10/image_15042025_01_10_01_6974.jpg
/home/pi/Desktop/images/15042025/01/08/image_15042025_01_08_01_5564.jpg
/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_01_3658.jpg
/home/pi/Desktop/images/15042025/01/02/image_15042025_01_02_01_4495.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871079","1349871061","1349871025","1349871007","1349870934","1349871071"],"photo_ids_order":["1349870934","1349871007","1349871025","1349871061","1349871071","1349871079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bab5f75d88cea551d74499653e4cab5.jpg","text":"TemporaryFile(/tmp/multipartBody2185248828972623537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712889906,"filename":"image_15042025_01_02_01_4495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/734e757a05a098e1a9455e8bfa4fedba.jpg","text":"TemporaryFile(/tmp/multipartBody1054078401021701926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712889906,"filename":"image_15042025_01_08_01_5564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/245c1d519a6e3337facb4d060d482521.jpg","text":"TemporaryFile(/tmp/multipartBody2480851516601661033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712889906,"filename":"image_15042025_01_10_01_6974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51f760c89083212aa4fb045f4e652847.jpg","text":"TemporaryFile(/tmp/multipartBody1262083457658997994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712889906,"filename":"image_15042025_12_25_01_4402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6baf1719abfb480fb0b0ddacdce5be5.jpg","text":"TemporaryFile(/tmp/multipartBody5136947116267218631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712889906,"filename":"image_15042025_12_26_01_9430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44ea296e0f4183fe2052c3cc286fd549.jpg","text":"TemporaryFile(/tmp/multipartBody7872132646188251685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712889906,"filename":"image_15042025_01_07_01_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871025","file1":"1349871007","file0":"1349870934","file4":"1349871071","file5":"1349871079","file3":"1349871061"},"map_files_photo_id_array":[{"photo_id":"1349871079","filename":"file5"},{"photo_id":"1349871025","filename":"file2"},{"photo_id":"1349871071","filename":"file4"},{"photo_id":"1349871007","filename":"file1"},{"photo_id":"1349870934","filename":"file0"},{"photo_id":"1349871061","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349871079":["hashtag1","hashtag2"]},{"1349871061":["hashtag1","hashtag2"]},{"1349871025":["hashtag1","hashtag2"]},{"1349871007":["hashtag1","hashtag2"]},{"1349870934":["hashtag1","hashtag2"]},{"1349871071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349871079, 1349871061, 1349871025, 1349871007, 1349870934, 1349871071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.2677595615387 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:29:03.536165
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_01_9609.jpg', 2), ('/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_01_7022.jpg', 2), ('/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg', 2), ('/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg', 2), ('/home/pi/Desktop/images/15042025/00/59/image_15042025_00_59_02_2270.jpg', 2), ('/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_01_9609.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_01_7022.jpg', '/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg', '/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg', '/home/pi/Desktop/images/15042025/00/59/image_15042025_00_59_02_2270.jpg', '/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_01_9609.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_01_7022.jpg
/home/pi/Desktop/images/15042025/01/01/image_15042025_01_01_01_1929.jpg
/home/pi/Desktop/images/15042025/01/00/image_15042025_01_00_01_2493.jpg
/home/pi/Desktop/images/15042025/00/59/image_15042025_00_59_02_2270.jpg
/home/pi/Desktop/images/15042025/00/57/image_15042025_00_57_02_0047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871308","1349871286","1349871340","1349871318","1349871353","1349871295"],"photo_ids_order":["1349871286","1349871295","1349871308","1349871318","1349871340","1349871353"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27928918024192c93d75e08f4e8e7e32.jpg","text":"TemporaryFile(/tmp/multipartBody2654615325163267726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713007670,"filename":"image_15042025_01_01_01_1929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/046ea291f0e8dc6f90846245311f0361.jpg","text":"TemporaryFile(/tmp/multipartBody8541497271038197638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713007670,"filename":"image_15042025_12_28_01_9609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e7044c0f30e1d1664510e6a5a42306a.jpg","text":"TemporaryFile(/tmp/multipartBody1600220058718125825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713007670,"filename":"image_15042025_00_59_02_2270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19bcfac3de47d6a6046f491464c0a8f1.jpg","text":"TemporaryFile(/tmp/multipartBody757026561268142877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713007670,"filename":"image_15042025_01_00_01_2493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/504f370bf38a8c1f60fd767316e0563d.jpg","text":"TemporaryFile(/tmp/multipartBody4249294890419317782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713007670,"filename":"image_15042025_00_57_02_0047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6a7f65d1918f510db7e5338768caa48.jpg","text":"TemporaryFile(/tmp/multipartBody552713323042365630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713007670,"filename":"image_15042025_12_27_01_7022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871308","file1":"1349871295","file0":"1349871286","file4":"1349871340","file5":"1349871353","file3":"1349871318"},"map_files_photo_id_array":[{"photo_id":"1349871353","filename":"file5"},{"photo_id":"1349871308","filename":"file2"},{"photo_id":"1349871340","filename":"file4"},{"photo_id":"1349871295","filename":"file1"},{"photo_id":"1349871286","filename":"file0"},{"photo_id":"1349871318","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349871308":["hashtag1","hashtag2"]},{"1349871286":["hashtag1","hashtag2"]},{"1349871340":["hashtag1","hashtag2"]},{"1349871318":["hashtag1","hashtag2"]},{"1349871353":["hashtag1","hashtag2"]},{"1349871295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349871308, 1349871286, 1349871340, 1349871318, 1349871353, 1349871295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.26549339294434 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:31:03.887222
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_01_5802.jpg', 2), ('/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_01_4342.jpg', 2), ('/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_01_3371.jpg', 2), ('/home/pi/Desktop/images/15042025/00/55/image_15042025_00_55_02_1107.jpg', 2), ('/home/pi/Desktop/images/15042025/00/53/image_15042025_00_53_02_2276.jpg', 2), ('/home/pi/Desktop/images/15042025/00/52/image_15042025_00_52_02_1582.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_01_5802.jpg', '/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_01_4342.jpg', '/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_01_3371.jpg', '/home/pi/Desktop/images/15042025/00/55/image_15042025_00_55_02_1107.jpg', '/home/pi/Desktop/images/15042025/00/53/image_15042025_00_53_02_2276.jpg', '/home/pi/Desktop/images/15042025/00/52/image_15042025_00_52_02_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_01_5802.jpg
/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_01_4342.jpg
/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_01_3371.jpg
/home/pi/Desktop/images/15042025/00/55/image_15042025_00_55_02_1107.jpg
/home/pi/Desktop/images/15042025/00/53/image_15042025_00_53_02_2276.jpg
/home/pi/Desktop/images/15042025/00/52/image_15042025_00_52_02_1582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871451","1349871508","1349871495","1349871477","1349871464","1349871440"],"photo_ids_order":["1349871440","1349871451","1349871464","1349871477","1349871495","1349871508"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d4e7bd429f19cfa2179d6f88a6038d7.jpg","text":"TemporaryFile(/tmp/multipartBody5311219229494950136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713128029,"filename":"image_15042025_12_29_01_4342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95d690987620bce5237d0911610e0c77.jpg","text":"TemporaryFile(/tmp/multipartBody2453627057697545925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713128029,"filename":"image_15042025_00_52_02_1582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89cfa0640846185af04bc8975dd74d10.jpg","text":"TemporaryFile(/tmp/multipartBody9198747683239082193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713128029,"filename":"image_15042025_00_53_02_2276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bed48f5d237d3f121501735f1a75a42c.jpg","text":"TemporaryFile(/tmp/multipartBody3461897850121416536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713128029,"filename":"image_15042025_00_55_02_1107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35676373cae94cd74678eacbea90e046.jpg","text":"TemporaryFile(/tmp/multipartBody4254031762686317169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713128029,"filename":"image_15042025_00_56_01_3371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ab7e5fd7b4f6b4cbbb5057b5bfdc1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7789935475934982302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713128029,"filename":"image_15042025_12_30_01_5802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871464","file1":"1349871451","file0":"1349871440","file4":"1349871495","file5":"1349871508","file3":"1349871477"},"map_files_photo_id_array":[{"photo_id":"1349871508","filename":"file5"},{"photo_id":"1349871464","filename":"file2"},{"photo_id":"1349871495","filename":"file4"},{"photo_id":"1349871451","filename":"file1"},{"photo_id":"1349871440","filename":"file0"},{"photo_id":"1349871477","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349871451":["hashtag1","hashtag2"]},{"1349871508":["hashtag1","hashtag2"]},{"1349871495":["hashtag1","hashtag2"]},{"1349871477":["hashtag1","hashtag2"]},{"1349871464":["hashtag1","hashtag2"]},{"1349871440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349871451, 1349871508, 1349871495, 1349871477, 1349871464, 1349871440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.44246792793274 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:33:03.910034
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/32/image_15042025_12_32_02_2007.jpg', 2), ('/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_02_1334.jpg', 2), ('/home/pi/Desktop/images/15042025/00/51/image_15042025_00_51_01_3048.jpg', 2), ('/home/pi/Desktop/images/15042025/00/48/image_15042025_00_48_01_8366.jpg', 2), ('/home/pi/Desktop/images/15042025/00/47/image_15042025_00_47_01_6572.jpg', 2), ('/home/pi/Desktop/images/15042025/00/46/image_15042025_00_46_02_2780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/32/image_15042025_12_32_02_2007.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_02_1334.jpg', '/home/pi/Desktop/images/15042025/00/51/image_15042025_00_51_01_3048.jpg', '/home/pi/Desktop/images/15042025/00/48/image_15042025_00_48_01_8366.jpg', '/home/pi/Desktop/images/15042025/00/47/image_15042025_00_47_01_6572.jpg', '/home/pi/Desktop/images/15042025/00/46/image_15042025_00_46_02_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/32/image_15042025_12_32_02_2007.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_02_1334.jpg
/home/pi/Desktop/images/15042025/00/51/image_15042025_00_51_01_3048.jpg
/home/pi/Desktop/images/15042025/00/48/image_15042025_00_48_01_8366.jpg
/home/pi/Desktop/images/15042025/00/47/image_15042025_00_47_01_6572.jpg
/home/pi/Desktop/images/15042025/00/46/image_15042025_00_46_02_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871769","1349871835","1349871939","1349871918","1349871753","1349871779"],"photo_ids_order":["1349871753","1349871769","1349871779","1349871835","1349871918","1349871939"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6dcb8d8bc55196e65376e497b3f211f.jpg","text":"TemporaryFile(/tmp/multipartBody45791628048553179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713248004,"filename":"image_15042025_12_31_02_1334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de06ec6896d8e13d7b90456fbc8f45c3.jpg","text":"TemporaryFile(/tmp/multipartBody6761135476823968091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713248004,"filename":"image_15042025_00_48_01_8366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a68d00b5e0bd3c56a01476c1181bf796.jpg","text":"TemporaryFile(/tmp/multipartBody4778507088781987519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713248004,"filename":"image_15042025_00_46_02_2780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73be0de512c064c7e77bddd7f4955fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1476309352111557612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713248004,"filename":"image_15042025_00_47_01_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39e59730df4e45f233129c9a87b6ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody2488306173585846835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713248004,"filename":"image_15042025_12_32_02_2007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c72f78909dc164a7fbab1542d8c44644.jpg","text":"TemporaryFile(/tmp/multipartBody6579468088946586274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713248004,"filename":"image_15042025_00_51_01_3048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871779","file1":"1349871769","file0":"1349871753","file4":"1349871918","file5":"1349871939","file3":"1349871835"},"map_files_photo_id_array":[{"photo_id":"1349871939","filename":"file5"},{"photo_id":"1349871779","filename":"file2"},{"photo_id":"1349871918","filename":"file4"},{"photo_id":"1349871769","filename":"file1"},{"photo_id":"1349871753","filename":"file0"},{"photo_id":"1349871835","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349871769":["hashtag1","hashtag2"]},{"1349871835":["hashtag1","hashtag2"]},{"1349871939":["hashtag1","hashtag2"]},{"1349871918":["hashtag1","hashtag2"]},{"1349871753":["hashtag1","hashtag2"]},{"1349871779":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349871769, 1349871835, 1349871939, 1349871918, 1349871753, 1349871779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.58974647521973 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:35:03.608184
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_02_1458.jpg', 2), ('/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_01_9375.jpg', 2), ('/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg', 2), ('/home/pi/Desktop/images/15042025/00/42/image_15042025_00_42_02_2797.jpg', 2), ('/home/pi/Desktop/images/15042025/00/41/image_15042025_00_41_01_3827.jpg', 2), ('/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_02_1458.jpg', '/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_01_9375.jpg', '/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg', '/home/pi/Desktop/images/15042025/00/42/image_15042025_00_42_02_2797.jpg', '/home/pi/Desktop/images/15042025/00/41/image_15042025_00_41_01_3827.jpg', '/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_02_1458.jpg
/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_01_9375.jpg
/home/pi/Desktop/images/15042025/00/43/image_15042025_00_43_01_6940.jpg
/home/pi/Desktop/images/15042025/00/42/image_15042025_00_42_02_2797.jpg
/home/pi/Desktop/images/15042025/00/41/image_15042025_00_41_01_3827.jpg
/home/pi/Desktop/images/15042025/00/37/image_15042025_00_37_01_8197.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872252","1349872191","1349872236","1349872262","1349872178","1349872310"],"photo_ids_order":["1349872178","1349872191","1349872236","1349872252","1349872262","1349872310"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8f898e6616ac9d55c52ba0a9040d572.jpg","text":"TemporaryFile(/tmp/multipartBody5885371490806179284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713367674,"filename":"image_15042025_00_42_02_2797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/959a8dc752e0c61a517def47a61b3249.jpg","text":"TemporaryFile(/tmp/multipartBody2275345704751316785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713367674,"filename":"image_15042025_12_33_01_9375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b90425aefcfee14e6be545158b3650b.jpg","text":"TemporaryFile(/tmp/multipartBody8845655620207392832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713367674,"filename":"image_15042025_00_43_01_6940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76ad155dd8e211a9133f0ef3ea25df08.jpg","text":"TemporaryFile(/tmp/multipartBody5980319752233538775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713367674,"filename":"image_15042025_00_41_01_3827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecf6e1e43e2f3d3419446987d5c4e8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7603707019831440693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713367674,"filename":"image_15042025_12_34_02_1458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e2e2da1e19f4031ec485874f1acbdf0.jpg","text":"TemporaryFile(/tmp/multipartBody4884202603651212583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713367674,"filename":"image_15042025_00_37_01_8197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872236","file1":"1349872191","file0":"1349872178","file4":"1349872262","file5":"1349872310","file3":"1349872252"},"map_files_photo_id_array":[{"photo_id":"1349872310","filename":"file5"},{"photo_id":"1349872236","filename":"file2"},{"photo_id":"1349872262","filename":"file4"},{"photo_id":"1349872191","filename":"file1"},{"photo_id":"1349872178","filename":"file0"},{"photo_id":"1349872252","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349872252":["hashtag1","hashtag2"]},{"1349872191":["hashtag1","hashtag2"]},{"1349872236":["hashtag1","hashtag2"]},{"1349872262":["hashtag1","hashtag2"]},{"1349872178":["hashtag1","hashtag2"]},{"1349872310":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349872252, 1349872191, 1349872236, 1349872262, 1349872178, 1349872310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.17783975601196 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:37:03.206302
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_01_8318.jpg', 2), ('/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_01_5810.jpg', 2), ('/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg', 2), ('/home/pi/Desktop/images/15042025/00/35/image_15042025_00_35_01_7424.jpg', 2), ('/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg', 2), ('/home/pi/Desktop/images/15042025/00/33/image_15042025_00_33_01_9236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_01_8318.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_01_5810.jpg', '/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg', '/home/pi/Desktop/images/15042025/00/35/image_15042025_00_35_01_7424.jpg', '/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg', '/home/pi/Desktop/images/15042025/00/33/image_15042025_00_33_01_9236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_01_8318.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_01_5810.jpg
/home/pi/Desktop/images/15042025/00/36/image_15042025_00_36_01_9607.jpg
/home/pi/Desktop/images/15042025/00/35/image_15042025_00_35_01_7424.jpg
/home/pi/Desktop/images/15042025/00/34/image_15042025_00_34_02_2171.jpg
/home/pi/Desktop/images/15042025/00/33/image_15042025_00_33_01_9236.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872642","1349872724","1349872681","1349872666","1349872810","1349872654"],"photo_ids_order":["1349872642","1349872654","1349872666","1349872681","1349872724","1349872810"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b46fea169e09ae3f135edd1000783956.jpg","text":"TemporaryFile(/tmp/multipartBody5100164505501579072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713487117,"filename":"image_15042025_12_36_01_8318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ebc0e6be4cd389e0e141c1cbe013ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8880199345258438286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713487117,"filename":"image_15042025_00_34_02_2171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/282f83daebb2f169241439deb2d4748e.jpg","text":"TemporaryFile(/tmp/multipartBody5653895367089855053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713487117,"filename":"image_15042025_00_35_01_7424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/786816fca79b05a93cae464da433258b.jpg","text":"TemporaryFile(/tmp/multipartBody3585305112793727906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713487117,"filename":"image_15042025_00_36_01_9607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f582f6e96c20b48b457b3ef564e3965d.jpg","text":"TemporaryFile(/tmp/multipartBody6251682117122726214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713487117,"filename":"image_15042025_00_33_01_9236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/650e8d5217cb476f90acf5e0c03dc9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7039880162026093300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713487117,"filename":"image_15042025_12_35_01_5810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872666","file1":"1349872654","file0":"1349872642","file4":"1349872724","file5":"1349872810","file3":"1349872681"},"map_files_photo_id_array":[{"photo_id":"1349872810","filename":"file5"},{"photo_id":"1349872666","filename":"file2"},{"photo_id":"1349872724","filename":"file4"},{"photo_id":"1349872654","filename":"file1"},{"photo_id":"1349872642","filename":"file0"},{"photo_id":"1349872681","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349872642":["hashtag1","hashtag2"]},{"1349872724":["hashtag1","hashtag2"]},{"1349872681":["hashtag1","hashtag2"]},{"1349872666":["hashtag1","hashtag2"]},{"1349872810":["hashtag1","hashtag2"]},{"1349872654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349872642, 1349872724, 1349872681, 1349872666, 1349872810, 1349872654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.20435619354248 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:39:03.216302
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_01_4423.jpg', 2), ('/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_01_3551.jpg', 2), ('/home/pi/Desktop/images/15042025/00/32/image_15042025_00_32_01_4696.jpg', 2), ('/home/pi/Desktop/images/15042025/00/31/image_15042025_00_31_01_3852.jpg', 2), ('/home/pi/Desktop/images/15042025/00/30/image_15042025_00_30_01_7463.jpg', 2), ('/home/pi/Desktop/images/15042025/00/29/image_15042025_00_29_01_5402.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_01_4423.jpg', '/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_01_3551.jpg', '/home/pi/Desktop/images/15042025/00/32/image_15042025_00_32_01_4696.jpg', '/home/pi/Desktop/images/15042025/00/31/image_15042025_00_31_01_3852.jpg', '/home/pi/Desktop/images/15042025/00/30/image_15042025_00_30_01_7463.jpg', '/home/pi/Desktop/images/15042025/00/29/image_15042025_00_29_01_5402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_01_4423.jpg
/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_01_3551.jpg
/home/pi/Desktop/images/15042025/00/32/image_15042025_00_32_01_4696.jpg
/home/pi/Desktop/images/15042025/00/31/image_15042025_00_31_01_3852.jpg
/home/pi/Desktop/images/15042025/00/30/image_15042025_00_30_01_7463.jpg
/home/pi/Desktop/images/15042025/00/29/image_15042025_00_29_01_5402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874281","1349874173","1349874182","1349874163","1349874151","1349874322"],"photo_ids_order":["1349874151","1349874163","1349874173","1349874182","1349874281","1349874322"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8690b7e19eb16804d75d27652c5b0436.jpg","text":"TemporaryFile(/tmp/multipartBody1166055130703033787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713607669,"filename":"image_15042025_00_30_01_7463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fef79459cf14014b264815f62317a3d.jpg","text":"TemporaryFile(/tmp/multipartBody6047615072572142656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713607669,"filename":"image_15042025_00_32_01_4696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/882c39a4585e26bd48123bbc11977cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1606844699023196726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713607669,"filename":"image_15042025_00_31_01_3852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c70cb6987f28b3e7030802f421f09121.jpg","text":"TemporaryFile(/tmp/multipartBody7673269469316598799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713607669,"filename":"image_15042025_12_37_01_3551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/998036dcbe2ee1b5c777e5e0e1fefc17.jpg","text":"TemporaryFile(/tmp/multipartBody5411616103172127975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713607669,"filename":"image_15042025_12_38_01_4423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/734606a1a7ac0ef260a82d49754971d1.jpg","text":"TemporaryFile(/tmp/multipartBody1671924254135168874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713607669,"filename":"image_15042025_00_29_01_5402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874173","file1":"1349874163","file0":"1349874151","file4":"1349874281","file5":"1349874322","file3":"1349874182"},"map_files_photo_id_array":[{"photo_id":"1349874322","filename":"file5"},{"photo_id":"1349874173","filename":"file2"},{"photo_id":"1349874281","filename":"file4"},{"photo_id":"1349874163","filename":"file1"},{"photo_id":"1349874151","filename":"file0"},{"photo_id":"1349874182","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349874281":["hashtag1","hashtag2"]},{"1349874173":["hashtag1","hashtag2"]},{"1349874182":["hashtag1","hashtag2"]},{"1349874163":["hashtag1","hashtag2"]},{"1349874151":["hashtag1","hashtag2"]},{"1349874322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349874281, 1349874173, 1349874182, 1349874163, 1349874151, 1349874322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.29548072814941 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:41:04.051388
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_01_2222.jpg', 2), ('/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_02_1224.jpg', 2), ('/home/pi/Desktop/images/15042025/00/28/image_15042025_00_28_01_5395.jpg', 2), ('/home/pi/Desktop/images/15042025/00/24/image_15042025_00_24_01_5615.jpg', 2), ('/home/pi/Desktop/images/15042025/00/21/image_15042025_00_21_01_5884.jpg', 2), ('/home/pi/Desktop/images/15042025/00/19/image_15042025_00_19_01_6745.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_01_2222.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_02_1224.jpg', '/home/pi/Desktop/images/15042025/00/28/image_15042025_00_28_01_5395.jpg', '/home/pi/Desktop/images/15042025/00/24/image_15042025_00_24_01_5615.jpg', '/home/pi/Desktop/images/15042025/00/21/image_15042025_00_21_01_5884.jpg', '/home/pi/Desktop/images/15042025/00/19/image_15042025_00_19_01_6745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_01_2222.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_02_1224.jpg
/home/pi/Desktop/images/15042025/00/28/image_15042025_00_28_01_5395.jpg
/home/pi/Desktop/images/15042025/00/24/image_15042025_00_24_01_5615.jpg
/home/pi/Desktop/images/15042025/00/21/image_15042025_00_21_01_5884.jpg
/home/pi/Desktop/images/15042025/00/19/image_15042025_00_19_01_6745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874600","1349874689","1349874623","1349874649","1349874505","1349874579"],"photo_ids_order":["1349874505","1349874579","1349874600","1349874623","1349874649","1349874689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cc53a42d227dab30b7f9030e01aac63.jpg","text":"TemporaryFile(/tmp/multipartBody5783052556478639446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713728077,"filename":"image_15042025_00_28_01_5395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef2397088b2300cd590808807343b600.jpg","text":"TemporaryFile(/tmp/multipartBody7690369125917267197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713728077,"filename":"image_15042025_00_19_01_6745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8138ded48fcfed9607ca218853eef8bf.jpg","text":"TemporaryFile(/tmp/multipartBody1509120140290612843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713728077,"filename":"image_15042025_00_24_01_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e22f2224ff0cc9ef4c1c0b119bdabc2f.jpg","text":"TemporaryFile(/tmp/multipartBody7936753609827678294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713728077,"filename":"image_15042025_00_21_01_5884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd15e3da70a833872841c138e7168d87.jpg","text":"TemporaryFile(/tmp/multipartBody8124003804179829275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713728077,"filename":"image_15042025_12_40_01_2222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bdf82a0e74fe24f605d0833fe007ff2.jpg","text":"TemporaryFile(/tmp/multipartBody8850407096702523080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713728077,"filename":"image_15042025_12_39_02_1224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874600","file1":"1349874579","file0":"1349874505","file4":"1349874649","file5":"1349874689","file3":"1349874623"},"map_files_photo_id_array":[{"photo_id":"1349874689","filename":"file5"},{"photo_id":"1349874600","filename":"file2"},{"photo_id":"1349874649","filename":"file4"},{"photo_id":"1349874579","filename":"file1"},{"photo_id":"1349874505","filename":"file0"},{"photo_id":"1349874623","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349874600":["hashtag1","hashtag2"]},{"1349874689":["hashtag1","hashtag2"]},{"1349874623":["hashtag1","hashtag2"]},{"1349874649":["hashtag1","hashtag2"]},{"1349874505":["hashtag1","hashtag2"]},{"1349874579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349874600, 1349874689, 1349874623, 1349874649, 1349874505, 1349874579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.26818799972534 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:43:03.876332
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_02_2504.jpg', 2), ('/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_02_0013.jpg', 2), ('/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg', 2), ('/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg', 2), ('/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg', 2), ('/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_02_2504.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_02_0013.jpg', '/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg', '/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg', '/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg', '/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_02_2504.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_02_0013.jpg
/home/pi/Desktop/images/15042025/00/18/image_15042025_00_18_01_9885.jpg
/home/pi/Desktop/images/15042025/00/17/image_15042025_00_17_01_7243.jpg
/home/pi/Desktop/images/15042025/00/16/image_15042025_00_16_01_8878.jpg
/home/pi/Desktop/images/15042025/00/15/image_15042025_00_15_01_3077.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874890","1349874860","1349874880","1349875011","1349874942","1349874870"],"photo_ids_order":["1349874860","1349874870","1349874880","1349874890","1349874942","1349875011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1686ef39fb07990c4216683548d26d56.jpg","text":"TemporaryFile(/tmp/multipartBody4447965055438079268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713847973,"filename":"image_15042025_00_17_01_7243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0907b862159a491984308003ac0d1e18.jpg","text":"TemporaryFile(/tmp/multipartBody2351224169997624109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713847973,"filename":"image_15042025_12_42_02_2504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b65bb85c83be56a37d15334bf53f5966.jpg","text":"TemporaryFile(/tmp/multipartBody3119161034219717881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713847973,"filename":"image_15042025_00_18_01_9885.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c15b83dbde82adca8884ed993a08bd5.jpg","text":"TemporaryFile(/tmp/multipartBody811239004211399697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713847973,"filename":"image_15042025_00_15_01_3077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17e63a4b5b1ee360b00bab323756a5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4286098416037235203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713847973,"filename":"image_15042025_00_16_01_8878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcbab0ed75780c7c6050b037b255836c.jpg","text":"TemporaryFile(/tmp/multipartBody5904659517183464547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713847973,"filename":"image_15042025_12_41_02_0013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874880","file1":"1349874870","file0":"1349874860","file4":"1349874942","file5":"1349875011","file3":"1349874890"},"map_files_photo_id_array":[{"photo_id":"1349875011","filename":"file5"},{"photo_id":"1349874880","filename":"file2"},{"photo_id":"1349874942","filename":"file4"},{"photo_id":"1349874870","filename":"file1"},{"photo_id":"1349874860","filename":"file0"},{"photo_id":"1349874890","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349874890":["hashtag1","hashtag2"]},{"1349874860":["hashtag1","hashtag2"]},{"1349874880":["hashtag1","hashtag2"]},{"1349875011":["hashtag1","hashtag2"]},{"1349874942":["hashtag1","hashtag2"]},{"1349874870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349874890, 1349874860, 1349874880, 1349875011, 1349874942, 1349874870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.19567251205444 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:45:03.756066
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_02_2179.jpg', 2), ('/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_02_0029.jpg', 2), ('/home/pi/Desktop/images/15042025/00/14/image_15042025_00_14_01_9149.jpg', 2), ('/home/pi/Desktop/images/15042025/00/12/image_15042025_00_12_01_3320.jpg', 2), ('/home/pi/Desktop/images/15042025/00/11/image_15042025_00_11_01_6385.jpg', 2), ('/home/pi/Desktop/images/15042025/00/10/image_15042025_00_10_02_2460.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_02_2179.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_02_0029.jpg', '/home/pi/Desktop/images/15042025/00/14/image_15042025_00_14_01_9149.jpg', '/home/pi/Desktop/images/15042025/00/12/image_15042025_00_12_01_3320.jpg', '/home/pi/Desktop/images/15042025/00/11/image_15042025_00_11_01_6385.jpg', '/home/pi/Desktop/images/15042025/00/10/image_15042025_00_10_02_2460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_02_2179.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_02_0029.jpg
/home/pi/Desktop/images/15042025/00/14/image_15042025_00_14_01_9149.jpg
/home/pi/Desktop/images/15042025/00/12/image_15042025_00_12_01_3320.jpg
/home/pi/Desktop/images/15042025/00/11/image_15042025_00_11_01_6385.jpg
/home/pi/Desktop/images/15042025/00/10/image_15042025_00_10_02_2460.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875316","1349875366","1349875357","1349875380","1349875335","1349875388"],"photo_ids_order":["1349875316","1349875335","1349875357","1349875366","1349875380","1349875388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ace7daac644f4f36b966d526bedddb41.jpg","text":"TemporaryFile(/tmp/multipartBody4759041475676497305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713967917,"filename":"image_15042025_12_44_02_2179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ced69be11ace911abeac18d6d0ee3c6.jpg","text":"TemporaryFile(/tmp/multipartBody995919857271296517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713967917,"filename":"image_15042025_00_12_01_3320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c631e1e0cc195fa49545658ca3e04d3.jpg","text":"TemporaryFile(/tmp/multipartBody2172114810310638846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713967917,"filename":"image_15042025_00_14_01_9149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a070dfb3592f2ed4a08087d7cb38f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7535133020596125283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713967917,"filename":"image_15042025_00_11_01_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba7f92d9a495010ff473b4263da2b0e1.jpg","text":"TemporaryFile(/tmp/multipartBody825976591106252601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713967917,"filename":"image_15042025_12_43_02_0029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe08e341cf2f2c37ef8353557d80c22a.jpg","text":"TemporaryFile(/tmp/multipartBody5729089382169108548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713967917,"filename":"image_15042025_00_10_02_2460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875357","file1":"1349875335","file0":"1349875316","file4":"1349875380","file5":"1349875388","file3":"1349875366"},"map_files_photo_id_array":[{"photo_id":"1349875388","filename":"file5"},{"photo_id":"1349875357","filename":"file2"},{"photo_id":"1349875380","filename":"file4"},{"photo_id":"1349875335","filename":"file1"},{"photo_id":"1349875316","filename":"file0"},{"photo_id":"1349875366","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349875316":["hashtag1","hashtag2"]},{"1349875366":["hashtag1","hashtag2"]},{"1349875357":["hashtag1","hashtag2"]},{"1349875380":["hashtag1","hashtag2"]},{"1349875335":["hashtag1","hashtag2"]},{"1349875388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349875316, 1349875366, 1349875357, 1349875380, 1349875335, 1349875388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.54460740089417 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:47:03.183487
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_01_9015.jpg', 2), ('/home/pi/Desktop/images/15042025/00/09/image_15042025_00_09_01_6526.jpg', 2), ('/home/pi/Desktop/images/15042025/00/08/image_15042025_00_08_01_3994.jpg', 2), ('/home/pi/Desktop/images/15042025/00/07/image_15042025_00_07_01_7508.jpg', 2), ('/home/pi/Desktop/images/15042025/00/00/image_15042025_00_00_01_3701.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_01_9015.jpg', '/home/pi/Desktop/images/15042025/00/09/image_15042025_00_09_01_6526.jpg', '/home/pi/Desktop/images/15042025/00/08/image_15042025_00_08_01_3994.jpg', '/home/pi/Desktop/images/15042025/00/07/image_15042025_00_07_01_7508.jpg', '/home/pi/Desktop/images/15042025/00/00/image_15042025_00_00_01_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_01_9015.jpg
/home/pi/Desktop/images/15042025/00/09/image_15042025_00_09_01_6526.jpg
/home/pi/Desktop/images/15042025/00/08/image_15042025_00_08_01_3994.jpg
/home/pi/Desktop/images/15042025/00/07/image_15042025_00_07_01_7508.jpg
/home/pi/Desktop/images/15042025/00/00/image_15042025_00_00_01_3701.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875514","1349875525","1349875596","1349875611","1349875583"],"photo_ids_order":["1349875514","1349875525","1349875583","1349875596","1349875611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f6735211a62a2cee5401f5eddf4e1aa.jpg","text":"TemporaryFile(/tmp/multipartBody8115944592497933527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714086861,"filename":"image_15042025_12_45_01_9015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5883d757fdb71de8fda7e8bcc3ac4d42.jpg","text":"TemporaryFile(/tmp/multipartBody4369659244319981858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714086861,"filename":"image_15042025_00_09_01_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04da88896f75334b19fc75e4567c5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4043806424786644634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714086861,"filename":"image_15042025_00_07_01_7508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6cbe9acfb4e456445214833b167cebe4.jpg","text":"TemporaryFile(/tmp/multipartBody7264726736754270105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714086861,"filename":"image_15042025_00_00_01_3701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/510290255134b126cbfdb2322f65b844.jpg","text":"TemporaryFile(/tmp/multipartBody2824743191971092876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714086861,"filename":"image_15042025_00_08_01_3994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875583","file1":"1349875525","file0":"1349875514","file4":"1349875611","file3":"1349875596"},"map_files_photo_id_array":[{"photo_id":"1349875583","filename":"file2"},{"photo_id":"1349875611","filename":"file4"},{"photo_id":"1349875525","filename":"file1"},{"photo_id":"1349875514","filename":"file0"},{"photo_id":"1349875596","filename":"file3"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349875514":["hashtag1","hashtag2"]},{"1349875525":["hashtag1","hashtag2"]},{"1349875596":["hashtag1","hashtag2"]},{"1349875611":["hashtag1","hashtag2"]},{"1349875583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349875514, 1349875525, 1349875596, 1349875611, 1349875583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 54.093804359436035 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:48:03.370621
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_02_1033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_02_1033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_02_1033.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875697"],"photo_id":"1349875697","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bd42899009e5c994216b6440dde389d.jpg","text":"TemporaryFile(/tmp/multipartBody2838750370559911088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714144400,"filename":"image_15042025_12_47_02_1033.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349875697"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349875697"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.734513759613037 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:49:03.259085
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_01_4373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_01_4373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_01_4373.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875929"],"photo_id":"1349875929","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1f7057c7880330672cf692b946e8deb.jpg","text":"TemporaryFile(/tmp/multipartBody2902539459212581209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204027,"filename":"image_15042025_12_48_01_4373.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349875929"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349875929"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.400793313980103 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:50:02.718999
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_02_0513.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_02_0513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_02_0513.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876032"],"photo_id":"1349876032","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52b7a9f60c69623de2558b527c9286af.jpg","text":"TemporaryFile(/tmp/multipartBody1895813126456271985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714263476,"filename":"image_15042025_12_49_02_0513.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876032"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876032"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.138857126235962 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:51:03.330802
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_01_5024.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_01_5024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_01_5024.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876123"],"photo_id":"1349876123","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd0122d5aeb006c48a1dcba52b83ecc6.jpg","text":"TemporaryFile(/tmp/multipartBody3311238316181665941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324102,"filename":"image_15042025_12_50_01_5024.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876123"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876123"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.322448015213013 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:52:02.645022
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_01_3529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_01_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_01_3529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876359"],"photo_id":"1349876359","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e65c39b7aa72338ada99c06e6f83146.jpg","text":"TemporaryFile(/tmp/multipartBody6073530719088765002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714383397,"filename":"image_15042025_12_51_01_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876359"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876359"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.742727518081665 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:53:03.783375
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_01_4780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_01_4780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_01_4780.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876537"],"photo_id":"1349876537","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01156f053c8e03d7b032b602c8f0ba21.jpg","text":"TemporaryFile(/tmp/multipartBody97588955968721299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444591,"filename":"image_15042025_12_52_01_4780.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876537"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876537"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.13085126876831 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:54:03.205849
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_01_2691.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_01_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_01_2691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876715"],"photo_id":"1349876715","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e30066b3b1563e006194c7045ba5cca4.jpg","text":"TemporaryFile(/tmp/multipartBody2565843539803699298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714503968,"filename":"image_15042025_12_53_01_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876715"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876715"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.92417049407959 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:55:03.844834
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_02_1277.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_02_1277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_02_1277.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876822"],"photo_id":"1349876822","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/343143f6d39b2350d5159894cb830586.jpg","text":"TemporaryFile(/tmp/multipartBody2427208966146601989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565313,"filename":"image_15042025_12_54_02_1277.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876822"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.116555213928223 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:56:03.295554
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/55/image_15042025_12_55_01_8219.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/55/image_15042025_12_55_01_8219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/55/image_15042025_12_55_01_8219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876912"],"photo_id":"1349876912","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4dee00f5c2580b02c164ce8546778ab.jpg","text":"TemporaryFile(/tmp/multipartBody3157056111478354607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714624149,"filename":"image_15042025_12_55_01_8219.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876912"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876912"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.778303146362305 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:57:03.168166
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_02_1573.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_02_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_02_1573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876999"],"photo_id":"1349876999","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ff3c1db1d29ee056ee0e6de5b178df2.jpg","text":"TemporaryFile(/tmp/multipartBody1184522342297756722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714683983,"filename":"image_15042025_12_56_02_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349876999"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349876999"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.475123167037964 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 12:59:03.838098
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_01_4280.jpg', 2), ('/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_02_0225.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_01_4280.jpg', '/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_02_0225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_01_4280.jpg
/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_02_0225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877498","1349877464"],"photo_ids_order":["1349877464","1349877498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ca94ef342ac14a693da4bd831cd354d.jpg","text":"TemporaryFile(/tmp/multipartBody3859765944878281968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714805963,"filename":"image_15042025_12_57_02_0225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd087211c28f25986800334f7d67b8ae.jpg","text":"TemporaryFile(/tmp/multipartBody4464055258039520446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714805963,"filename":"image_15042025_12_58_01_4280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349877498","file0":"1349877464"},"map_files_photo_id_array":[{"photo_id":"1349877498","filename":"file1"},{"photo_id":"1349877464","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349877498":["hashtag1","hashtag2"]},{"1349877464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349877498, 1349877464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.253310441970825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:00:03.034304
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_01_9872.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_01_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_01_9872.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877647"],"photo_id":"1349877647","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ffec21dab770a77b0f9f58462c2ce26.jpg","text":"TemporaryFile(/tmp/multipartBody6852216739114564154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864022,"filename":"image_15042025_12_59_01_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349877647"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349877647"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.123881578445435 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:01:03.944362
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/00/image_15042025_13_00_02_1549.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/00/image_15042025_13_00_02_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/00/image_15042025_13_00_02_1549.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877720"],"photo_id":"1349877720","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2835a2dde439f068664b5d8be87e75b.jpg","text":"TemporaryFile(/tmp/multipartBody5293389461836854492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714924755,"filename":"image_15042025_13_00_02_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349877720"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349877720"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.54881501197815 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:02:02.921665
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_01_7127.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_01_7127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_01_7127.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877780"],"photo_id":"1349877780","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a19f86e5078f68cf5ae6e28c47a42ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6935713885217096089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984135,"filename":"image_15042025_13_01_01_7127.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349877780"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349877780"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.357019424438477 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:03:03.689427
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_01_9969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_01_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_01_9969.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877933"],"photo_id":"1349877933","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/451c68b9890311b42f5bb78cd795d996.jpg","text":"TemporaryFile(/tmp/multipartBody3032313984760526177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715045603,"filename":"image_15042025_13_02_01_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349877933"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349877933"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.73990225791931 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:04:02.844092
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/03/image_15042025_13_03_01_5857.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/03/image_15042025_13_03_01_5857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/03/image_15042025_13_03_01_5857.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349878327"],"photo_id":"1349878327","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5405400765f1592a986afa4219a7f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3656285352824536966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715103633,"filename":"image_15042025_13_03_01_5857.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349878327"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349878327"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.82348108291626 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:05:03.705716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg', 2), ('/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', 2), ('/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', 2), ('/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', 2), ('/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', 2), ('/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg', '/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg', '/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg', '/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg', '/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg', '/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/56/image_14042025_23_56_01_6365.jpg
/home/pi/Desktop/images/14042025/23/55/image_14042025_23_55_01_4711.jpg
/home/pi/Desktop/images/14042025/23/54/image_14042025_23_54_01_7349.jpg
/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.jpg
/home/pi/Desktop/images/14042025/23/52/image_14042025_23_52_01_7706.jpg
/home/pi/Desktop/images/14042025/23/51/image_14042025_23_51_01_4106.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349879234","1349879150","1349879324","1349879395","1349879464","1349879002"],"photo_ids_order":["1349879002","1349879150","1349879234","1349879324","1349879395","1349879464"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/793d4113284a9c4b79dec69e45d27a6e.jpg","text":"TemporaryFile(/tmp/multipartBody3678474160460915570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715168828,"filename":"image_14042025_23_54_01_7349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/802c6dd7732c0530ade99055141c3776.jpg","text":"TemporaryFile(/tmp/multipartBody7000415996445592693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715168828,"filename":"image_14042025_23_55_01_4711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d69f9639c421a5f4629b10d197381e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2727135233788960647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715168828,"filename":"image_14042025_23_53_01_5254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80459e7c2d582c0c35d7561b7dd93067.jpg","text":"TemporaryFile(/tmp/multipartBody4371026195636919326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715168828,"filename":"image_14042025_23_52_01_7706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad8bc339d70aeb3757d2a92cc8995b50.jpg","text":"TemporaryFile(/tmp/multipartBody8061783677204939897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715168828,"filename":"image_14042025_23_51_01_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edccf0e36c70aa451c52f776f267fb58.jpg","text":"TemporaryFile(/tmp/multipartBody7240339304077091125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715168828,"filename":"image_14042025_23_56_01_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349879234","file1":"1349879150","file0":"1349879002","file4":"1349879395","file5":"1349879464","file3":"1349879324"},"map_files_photo_id_array":[{"photo_id":"1349879464","filename":"file5"},{"photo_id":"1349879234","filename":"file2"},{"photo_id":"1349879395","filename":"file4"},{"photo_id":"1349879150","filename":"file1"},{"photo_id":"1349879002","filename":"file0"},{"photo_id":"1349879324","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349879234":["hashtag1","hashtag2"]},{"1349879150":["hashtag1","hashtag2"]},{"1349879324":["hashtag1","hashtag2"]},{"1349879395":["hashtag1","hashtag2"]},{"1349879464":["hashtag1","hashtag2"]},{"1349879002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349879234, 1349879150, 1349879324, 1349879395, 1349879464, 1349879002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.349968671798706 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:07:03.800862
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/06/image_15042025_13_06_01_8544.jpg', 2), ('/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_01_8691.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/06/image_15042025_13_06_01_8544.jpg', '/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_01_8691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/06/image_15042025_13_06_01_8544.jpg
/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_01_8691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349879994","1349879967"],"photo_ids_order":["1349879967","1349879994"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/075039b48d331b7a1759890e79993cca.jpg","text":"TemporaryFile(/tmp/multipartBody3184791518546663463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715285030,"filename":"image_15042025_13_04_01_8691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ba3776646252e7a66c455dd8c0916e8.jpg","text":"TemporaryFile(/tmp/multipartBody8587208561763856241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715285030,"filename":"image_15042025_13_06_01_8544.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349879994","file0":"1349879967"},"map_files_photo_id_array":[{"photo_id":"1349879994","filename":"file1"},{"photo_id":"1349879967","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349879994":["hashtag1","hashtag2"]},{"1349879967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349879994, 1349879967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.004640817642212 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:08:02.787106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_01_9167.jpg', 2), ('/home/pi/Desktop/images/14042025/23/49/image_14042025_23_49_01_7825.jpg', 2), ('/home/pi/Desktop/images/14042025/23/42/image_14042025_23_42_02_1511.jpg', 2), ('/home/pi/Desktop/images/14042025/23/38/image_14042025_23_38_01_8371.jpg', 2), ('/home/pi/Desktop/images/14042025/23/30/image_14042025_23_30_01_5875.jpg', 2), ('/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_01_9167.jpg', '/home/pi/Desktop/images/14042025/23/49/image_14042025_23_49_01_7825.jpg', '/home/pi/Desktop/images/14042025/23/42/image_14042025_23_42_02_1511.jpg', '/home/pi/Desktop/images/14042025/23/38/image_14042025_23_38_01_8371.jpg', '/home/pi/Desktop/images/14042025/23/30/image_14042025_23_30_01_5875.jpg', '/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/50/image_14042025_23_50_01_9167.jpg
/home/pi/Desktop/images/14042025/23/49/image_14042025_23_49_01_7825.jpg
/home/pi/Desktop/images/14042025/23/42/image_14042025_23_42_02_1511.jpg
/home/pi/Desktop/images/14042025/23/38/image_14042025_23_38_01_8371.jpg
/home/pi/Desktop/images/14042025/23/30/image_14042025_23_30_01_5875.jpg
/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349881068","1349880526","1349880695","1349880974","1349880889","1349881179"],"photo_ids_order":["1349880526","1349880695","1349880889","1349880974","1349881068","1349881179"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a8b149a1ba7dab3a15cbd9d1817630b.jpg","text":"TemporaryFile(/tmp/multipartBody2515545011491120250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715347711,"filename":"image_14042025_23_30_01_5875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c6fa7811ae0a75ae993a6eacc77c162.jpg","text":"TemporaryFile(/tmp/multipartBody1303536444069980058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715347711,"filename":"image_14042025_23_50_01_9167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e153d9782b91e896cf4fb70a1838a433.jpg","text":"TemporaryFile(/tmp/multipartBody3672422153036169837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715347711,"filename":"image_14042025_23_49_01_7825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9382b998699f73b632dc3d1d5a157e09.jpg","text":"TemporaryFile(/tmp/multipartBody4178578511022090275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715347711,"filename":"image_14042025_23_38_01_8371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21401f26c18b4471af2b2e9279faa24f.jpg","text":"TemporaryFile(/tmp/multipartBody3789817064216622682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715347711,"filename":"image_14042025_23_42_02_1511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f1003ef230188a36f15d38226beeb7e.jpg","text":"TemporaryFile(/tmp/multipartBody8737899272697183514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715347711,"filename":"image_14042025_23_29_01_6692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349880889","file1":"1349880695","file0":"1349880526","file4":"1349881068","file5":"1349881179","file3":"1349880974"},"map_files_photo_id_array":[{"photo_id":"1349881179","filename":"file5"},{"photo_id":"1349880889","filename":"file2"},{"photo_id":"1349881068","filename":"file4"},{"photo_id":"1349880695","filename":"file1"},{"photo_id":"1349880526","filename":"file0"},{"photo_id":"1349880974","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349881068":["hashtag1","hashtag2"]},{"1349880526":["hashtag1","hashtag2"]},{"1349880695":["hashtag1","hashtag2"]},{"1349880974":["hashtag1","hashtag2"]},{"1349880889":["hashtag1","hashtag2"]},{"1349881179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349881068, 1349880526, 1349880695, 1349880974, 1349880889, 1349881179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.976107597351074 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:10:02.594659
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_01_4573.jpg', 2), ('/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_01_7033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_01_4573.jpg', '/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_01_7033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_01_4573.jpg
/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_01_7033.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349881857","1349881843"],"photo_ids_order":["1349881843","1349881857"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a66f90307e4f335acf09b34b766fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody2437289899074856475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715463806,"filename":"image_15042025_13_07_01_7033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec6f35c438d81e649343024f14986b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8434129234553477227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715463806,"filename":"image_15042025_13_09_01_4573.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349881857","file0":"1349881843"},"map_files_photo_id_array":[{"photo_id":"1349881857","filename":"file1"},{"photo_id":"1349881843","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349881857":["hashtag1","hashtag2"]},{"1349881843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349881857, 1349881843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.764949083328247 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:11:03.238024
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_01_6668.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_01_6668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_01_6668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882000"],"photo_id":"1349882000","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/147ece3aea8270c6a421c0f384da4b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4876843606073396531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524060,"filename":"image_15042025_13_10_01_6668.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349882000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349882000"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.356966495513916 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:12:02.676014
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_01_2892.jpg', 2), ('/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_01_2054.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_01_2054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_01_2054.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882195"],"photo_id":"1349882195","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cf34676587eb1d7e940179d79191df7.jpg","text":"TemporaryFile(/tmp/multipartBody5558382865599882173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715583841,"filename":"image_15042025_13_11_01_2054.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349882195"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349882195"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.289525985717773 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_01_2892.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:13:03.268312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_02_0674.jpg', 2), ('/home/pi/Desktop/images/14042025/23/25/image_14042025_23_25_01_4844.jpg', 2), ('/home/pi/Desktop/images/14042025/23/24/image_14042025_23_24_02_0829.jpg', 2), ('/home/pi/Desktop/images/14042025/23/23/image_14042025_23_23_01_5962.jpg', 2), ('/home/pi/Desktop/images/14042025/23/21/image_14042025_23_21_01_8277.jpg', 2), ('/home/pi/Desktop/images/14042025/23/20/image_14042025_23_20_02_1529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_02_0674.jpg', '/home/pi/Desktop/images/14042025/23/25/image_14042025_23_25_01_4844.jpg', '/home/pi/Desktop/images/14042025/23/24/image_14042025_23_24_02_0829.jpg', '/home/pi/Desktop/images/14042025/23/23/image_14042025_23_23_01_5962.jpg', '/home/pi/Desktop/images/14042025/23/21/image_14042025_23_21_01_8277.jpg', '/home/pi/Desktop/images/14042025/23/20/image_14042025_23_20_02_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_02_0674.jpg
/home/pi/Desktop/images/14042025/23/25/image_14042025_23_25_01_4844.jpg
/home/pi/Desktop/images/14042025/23/24/image_14042025_23_24_02_0829.jpg
/home/pi/Desktop/images/14042025/23/23/image_14042025_23_23_01_5962.jpg
/home/pi/Desktop/images/14042025/23/21/image_14042025_23_21_01_8277.jpg
/home/pi/Desktop/images/14042025/23/20/image_14042025_23_20_02_1529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882916","1349882885","1349882792","1349882948","1349882762","1349882821"],"photo_ids_order":["1349882762","1349882792","1349882821","1349882885","1349882916","1349882948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07e63bc429e9d2722546712e5fd279e0.jpg","text":"TemporaryFile(/tmp/multipartBody7564346530036437677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715648370,"filename":"image_14042025_23_21_01_8277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/669e8ddca947b99e67484c138db436bc.jpg","text":"TemporaryFile(/tmp/multipartBody1350954625479435673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715648370,"filename":"image_14042025_23_23_01_5962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b62b2e4cab5feaa28e25b1efc60854da.jpg","text":"TemporaryFile(/tmp/multipartBody5122405468288432875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715648370,"filename":"image_14042025_23_25_01_4844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2e18daa579d2343fe7a18c42e67951f.jpg","text":"TemporaryFile(/tmp/multipartBody8810519215006461491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715648370,"filename":"image_14042025_23_20_02_1529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4fcd1f0bee8073e49f5ab0d2b09d71f.jpg","text":"TemporaryFile(/tmp/multipartBody5340978644218912080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715648370,"filename":"image_14042025_23_28_02_0674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65462b3acb4f5d902bd3a0dd791e77d9.jpg","text":"TemporaryFile(/tmp/multipartBody7474852045481965242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715648370,"filename":"image_14042025_23_24_02_0829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882821","file1":"1349882792","file0":"1349882762","file4":"1349882916","file5":"1349882948","file3":"1349882885"},"map_files_photo_id_array":[{"photo_id":"1349882948","filename":"file5"},{"photo_id":"1349882821","filename":"file2"},{"photo_id":"1349882916","filename":"file4"},{"photo_id":"1349882792","filename":"file1"},{"photo_id":"1349882762","filename":"file0"},{"photo_id":"1349882885","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349882916":["hashtag1","hashtag2"]},{"1349882885":["hashtag1","hashtag2"]},{"1349882792":["hashtag1","hashtag2"]},{"1349882948":["hashtag1","hashtag2"]},{"1349882762":["hashtag1","hashtag2"]},{"1349882821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349882916, 1349882885, 1349882792, 1349882948, 1349882762, 1349882821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.37367010116577 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:15:03.172225
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_01_4865.jpg', 2), ('/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_01_6029.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_01_4865.jpg', '/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_01_6029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_01_4865.jpg
/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_01_6029.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883028","1349883037"],"photo_ids_order":["1349883028","1349883037"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e3d45d3b66e82fb77cafcf2a614c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody3609379151919119450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764530,"filename":"image_15042025_13_14_01_4865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f8c8c8c4a1c2bcbe042ca64d789d478.jpg","text":"TemporaryFile(/tmp/multipartBody7695269845640483185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764530,"filename":"image_15042025_13_12_01_6029.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349883037","file0":"1349883028"},"map_files_photo_id_array":[{"photo_id":"1349883037","filename":"file1"},{"photo_id":"1349883028","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349883028":["hashtag1","hashtag2"]},{"1349883037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349883028, 1349883037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.635094165802002 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:16:02.755379
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_01_2502.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_01_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_01_2502.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883112"],"photo_id":"1349883112","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d966bcc56142eeedef653a8d8a20584.jpg","text":"TemporaryFile(/tmp/multipartBody5111447251256314174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715823512,"filename":"image_15042025_13_15_01_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349883112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349883112"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.417980670928955 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:17:03.548938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/19/image_14042025_23_19_02_0905.jpg', 2), ('/home/pi/Desktop/images/14042025/23/13/image_14042025_23_13_01_4307.jpg', 2), ('/home/pi/Desktop/images/14042025/23/09/image_14042025_23_09_02_0865.jpg', 2), ('/home/pi/Desktop/images/14042025/23/08/image_14042025_23_08_01_6271.jpg', 2), ('/home/pi/Desktop/images/14042025/23/07/image_14042025_23_07_01_3929.jpg', 2), ('/home/pi/Desktop/images/14042025/23/06/image_14042025_23_06_01_5874.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/19/image_14042025_23_19_02_0905.jpg', '/home/pi/Desktop/images/14042025/23/13/image_14042025_23_13_01_4307.jpg', '/home/pi/Desktop/images/14042025/23/09/image_14042025_23_09_02_0865.jpg', '/home/pi/Desktop/images/14042025/23/08/image_14042025_23_08_01_6271.jpg', '/home/pi/Desktop/images/14042025/23/07/image_14042025_23_07_01_3929.jpg', '/home/pi/Desktop/images/14042025/23/06/image_14042025_23_06_01_5874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/19/image_14042025_23_19_02_0905.jpg
/home/pi/Desktop/images/14042025/23/13/image_14042025_23_13_01_4307.jpg
/home/pi/Desktop/images/14042025/23/09/image_14042025_23_09_02_0865.jpg
/home/pi/Desktop/images/14042025/23/08/image_14042025_23_08_01_6271.jpg
/home/pi/Desktop/images/14042025/23/07/image_14042025_23_07_01_3929.jpg
/home/pi/Desktop/images/14042025/23/06/image_14042025_23_06_01_5874.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883641","1349883725","1349883796","1349883478","1349883559","1349883817"],"photo_ids_order":["1349883478","1349883559","1349883641","1349883725","1349883796","1349883817"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd71a49059cd6e6708712ef7fe1c27ab.jpg","text":"TemporaryFile(/tmp/multipartBody306203194619560705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715888729,"filename":"image_14042025_23_09_02_0865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b0e2de7388fce82af05fb84dabf9f93.jpg","text":"TemporaryFile(/tmp/multipartBody4032499384720171738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715888729,"filename":"image_14042025_23_08_01_6271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/204b071a49d0e819ba3ff0588c28ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody2939114056291993347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715888729,"filename":"image_14042025_23_07_01_3929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7b0a350a8ef9cb7bc6e02a0299afba7.jpg","text":"TemporaryFile(/tmp/multipartBody3907782002508921231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715888729,"filename":"image_14042025_23_19_02_0905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dbbfcc89112602bc68339b10c4c1f5e.jpg","text":"TemporaryFile(/tmp/multipartBody848176554365200032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715888729,"filename":"image_14042025_23_13_01_4307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82b3e3c80323811a5f70a8f00c0cb1d1.jpg","text":"TemporaryFile(/tmp/multipartBody8515766548839571216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715888729,"filename":"image_14042025_23_06_01_5874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883641","file1":"1349883559","file0":"1349883478","file4":"1349883796","file5":"1349883817","file3":"1349883725"},"map_files_photo_id_array":[{"photo_id":"1349883817","filename":"file5"},{"photo_id":"1349883641","filename":"file2"},{"photo_id":"1349883796","filename":"file4"},{"photo_id":"1349883559","filename":"file1"},{"photo_id":"1349883478","filename":"file0"},{"photo_id":"1349883725","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349883641":["hashtag1","hashtag2"]},{"1349883725":["hashtag1","hashtag2"]},{"1349883796":["hashtag1","hashtag2"]},{"1349883478":["hashtag1","hashtag2"]},{"1349883559":["hashtag1","hashtag2"]},{"1349883817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349883641, 1349883725, 1349883796, 1349883478, 1349883559, 1349883817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.12709951400757 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:19:03.982386
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_01_7274.jpg', 2), ('/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_01_5088.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_01_7274.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_01_5088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_01_7274.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_01_5088.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883982","1349883990"],"photo_ids_order":["1349883982","1349883990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edcd82489dcc3f47480a93fbb692e220.jpg","text":"TemporaryFile(/tmp/multipartBody6601069706779603668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716005245,"filename":"image_15042025_13_18_01_7274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2593cac42ec774e507dd3bf296879932.jpg","text":"TemporaryFile(/tmp/multipartBody5001846435100332955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716005245,"filename":"image_15042025_13_16_01_5088.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349883990","file0":"1349883982"},"map_files_photo_id_array":[{"photo_id":"1349883990","filename":"file1"},{"photo_id":"1349883982","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349883982":["hashtag1","hashtag2"]},{"1349883990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349883982, 1349883990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.74755620956421 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:20:03.306802
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_01_3668.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_01_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_01_3668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884072"],"photo_id":"1349884072","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/294a171c94dc849ed58725cb28c94030.jpg","text":"TemporaryFile(/tmp/multipartBody2203296591578211840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716064066,"filename":"image_15042025_13_19_01_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349884072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349884072"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.898985147476196 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:21:03.260746
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_02_1137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_02_1137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_02_1137.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884206"],"photo_id":"1349884206","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eb940b2accdbe7e5d8edb2ebacbb0ac.jpg","text":"TemporaryFile(/tmp/multipartBody9185015659573675252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124085,"filename":"image_15042025_13_20_02_1137.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349884206"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349884206"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.000528573989868 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:22:02.700909
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_01_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_01_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_01_9579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884275"],"photo_id":"1349884275","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39c935012688c583854727c4fd6a3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody63469183121421918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716183467,"filename":"image_15042025_13_21_01_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349884275"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349884275"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.623586654663086 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:23:03.405639
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_01_5208.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_01_5208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_01_5208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884473"],"photo_id":"1349884473","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6192f69324596cf5b6d19845c88081d2.jpg","text":"TemporaryFile(/tmp/multipartBody1388742081842280462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716244231,"filename":"image_15042025_13_22_01_5208.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349884473"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349884473"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.03591251373291 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:24:02.977891
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_01_4572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_01_4572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_01_4572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884827"],"photo_id":"1349884827","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afe73e4606859598533aa14321e39766.jpg","text":"TemporaryFile(/tmp/multipartBody2395224614040596539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303751,"filename":"image_15042025_13_23_01_4572.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349884827"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349884827"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.100223302841187 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:25:08.143719
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_01_5918.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_01_5918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_01_5918.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884976"],"photo_id":"1349884976","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8f54ddae0e7b28606da19b54c9447f7.jpg","text":"TemporaryFile(/tmp/multipartBody2299586813814741453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716369922,"filename":"image_15042025_13_24_01_5918.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349884976"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349884976"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.942413330078125 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:26:06.789147
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_01_4073.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_01_4073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_01_4073.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885071"],"photo_id":"1349885071","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8894a9348c300bcab45a87e94dbffefb.jpg","text":"TemporaryFile(/tmp/multipartBody1676213415812194914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716427845,"filename":"image_15042025_13_25_01_4073.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349885071"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349885071"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.674152374267578 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:27:04.646557
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_02_1337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_02_1337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_02_1337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885227"],"photo_id":"1349885227","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/679f8ffa75d36abff0d5bf72d04df183.jpg","text":"TemporaryFile(/tmp/multipartBody4575563622526453023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716485742,"filename":"image_15042025_13_26_02_1337.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349885227"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349885227"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.759137630462646 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:28:02.804696
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_02_1933.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_02_1933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_02_1933.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6782200336456299 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:29:03.654574
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/28/image_15042025_13_28_02_1960.jpg', 2), ('/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_02_1933.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/28/image_15042025_13_28_02_1960.jpg', '/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_02_1933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/28/image_15042025_13_28_02_1960.jpg
/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_02_1933.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885583","1349885568"],"photo_ids_order":["1349885568","1349885583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12560399e1649b8f8438418a651cdd34.jpg","text":"TemporaryFile(/tmp/multipartBody6946319747111595951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716604918,"filename":"image_15042025_13_27_02_1933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eee7d704db19d8edea5551fbd8aef766.jpg","text":"TemporaryFile(/tmp/multipartBody2481135669691186461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716604918,"filename":"image_15042025_13_28_02_1960.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349885583","file0":"1349885568"},"map_files_photo_id_array":[{"photo_id":"1349885583","filename":"file1"},{"photo_id":"1349885568","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349885583":["hashtag1","hashtag2"]},{"1349885568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349885583, 1349885568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.346288681030273 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:30:02.917913
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_01_3795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_01_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_01_3795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885731"],"photo_id":"1349885731","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e41783fb765909ef0b1e938134b35d63.jpg","text":"TemporaryFile(/tmp/multipartBody7622111734621263316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716663690,"filename":"image_15042025_13_29_01_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349885731"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349885731"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.11331057548523 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:31:03.439775
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/30/image_15042025_13_30_01_6915.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/30/image_15042025_13_30_01_6915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/30/image_15042025_13_30_01_6915.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886177"],"photo_id":"1349886177","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1cc2b5777ed3e538d4aa4c385ff697e.jpg","text":"TemporaryFile(/tmp/multipartBody6708367758350223611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716724258,"filename":"image_15042025_13_30_01_6915.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349886177"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349886177"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.905572652816772 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:32:03.009577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/05/image_14042025_23_05_01_1818.jpg', 2), ('/home/pi/Desktop/images/14042025/23/04/image_14042025_23_04_01_2726.jpg', 2), ('/home/pi/Desktop/images/14042025/23/02/image_14042025_23_02_01_5481.jpg', 2), ('/home/pi/Desktop/images/14042025/23/01/image_14042025_23_01_01_3956.jpg', 2), ('/home/pi/Desktop/images/14042025/23/00/image_14042025_23_00_01_4999.jpg', 2), ('/home/pi/Desktop/images/14042025/22/59/image_14042025_22_59_01_4043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/05/image_14042025_23_05_01_1818.jpg', '/home/pi/Desktop/images/14042025/23/04/image_14042025_23_04_01_2726.jpg', '/home/pi/Desktop/images/14042025/23/02/image_14042025_23_02_01_5481.jpg', '/home/pi/Desktop/images/14042025/23/01/image_14042025_23_01_01_3956.jpg', '/home/pi/Desktop/images/14042025/23/00/image_14042025_23_00_01_4999.jpg', '/home/pi/Desktop/images/14042025/22/59/image_14042025_22_59_01_4043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/05/image_14042025_23_05_01_1818.jpg
/home/pi/Desktop/images/14042025/23/04/image_14042025_23_04_01_2726.jpg
/home/pi/Desktop/images/14042025/23/02/image_14042025_23_02_01_5481.jpg
/home/pi/Desktop/images/14042025/23/01/image_14042025_23_01_01_3956.jpg
/home/pi/Desktop/images/14042025/23/00/image_14042025_23_00_01_4999.jpg
/home/pi/Desktop/images/14042025/22/59/image_14042025_22_59_01_4043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886375","1349886400","1349886419","1349886410","1349886391","1349886382"],"photo_ids_order":["1349886375","1349886382","1349886391","1349886400","1349886410","1349886419"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd35da7ca475a44cfa616c7338b148c6.jpg","text":"TemporaryFile(/tmp/multipartBody150980764005973073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716789435,"filename":"image_14042025_23_05_01_1818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b67f792b5ee560e5a2af9e622ab8d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody7422976060177309243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716789435,"filename":"image_14042025_23_01_01_3956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fac77db4246d394857bf2c3e505f0d91.jpg","text":"TemporaryFile(/tmp/multipartBody1388366240822330779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716789435,"filename":"image_14042025_22_59_01_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5181dfdde71741152d99aadc9331d9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1377962588532037953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716789435,"filename":"image_14042025_23_00_01_4999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74da2eacc89e6468abc50643968306ae.jpg","text":"TemporaryFile(/tmp/multipartBody5354288377040782749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716789435,"filename":"image_14042025_23_02_01_5481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da22b6886517d0ef5722269a441531b8.jpg","text":"TemporaryFile(/tmp/multipartBody335034857561365430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716789435,"filename":"image_14042025_23_04_01_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886391","file1":"1349886382","file0":"1349886375","file4":"1349886410","file5":"1349886419","file3":"1349886400"},"map_files_photo_id_array":[{"photo_id":"1349886419","filename":"file5"},{"photo_id":"1349886391","filename":"file2"},{"photo_id":"1349886410","filename":"file4"},{"photo_id":"1349886382","filename":"file1"},{"photo_id":"1349886375","filename":"file0"},{"photo_id":"1349886400","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349886375":["hashtag1","hashtag2"]},{"1349886400":["hashtag1","hashtag2"]},{"1349886419":["hashtag1","hashtag2"]},{"1349886410":["hashtag1","hashtag2"]},{"1349886391":["hashtag1","hashtag2"]},{"1349886382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349886375, 1349886400, 1349886419, 1349886410, 1349886391, 1349886382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.163455963134766 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:34:03.040374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg', 2), ('/home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_01_6139.jpg', 2), ('/home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_02_1449.jpg', 2), ('/home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_01_8589.jpg', 2), ('/home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_01_9913.jpg', 2), ('/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg', '/home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_01_6139.jpg', '/home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_02_1449.jpg', '/home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_01_8589.jpg', '/home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_01_9913.jpg', '/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg
/home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_01_6139.jpg
/home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_02_1449.jpg
/home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_01_8589.jpg
/home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_01_9913.jpg
/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.963980197906494 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:35:03.619365
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_01_5378.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_01_5378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_01_5378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886792"],"photo_id":"1349886792","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46c2f1c179d3ce7bac65fd8039482e90.jpg","text":"TemporaryFile(/tmp/multipartBody5830198772947323476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716964419,"filename":"image_15042025_13_31_01_5378.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349886792"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349886792"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.80648946762085 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:36:03.161766
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_01_6335.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_01_6335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_01_6335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886860"],"photo_id":"1349886860","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d80ea01c4373dc057f2c114e667cea8c.jpg","text":"TemporaryFile(/tmp/multipartBody6440813303772232143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023916,"filename":"image_15042025_13_35_01_6335.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349886860"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349886860"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.248563766479492 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:37:03.849916
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_01_9574.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_01_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_01_9574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886928"],"photo_id":"1349886928","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d827b38846d891e1569e2e70d1dc65c5.jpg","text":"TemporaryFile(/tmp/multipartBody4812481843602831599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717084611,"filename":"image_15042025_13_36_01_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349886928"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349886928"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.385583877563477 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:38:03.132264
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_01_8227.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_01_8227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_01_8227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887034"],"photo_id":"1349887034","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96a9286cfc811c47720dabc30ef95a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7001309064306992033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143870,"filename":"image_15042025_13_37_01_8227.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349887034"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349887034"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.348742485046387 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:39:03.723743
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_02_0766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_02_0766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_02_0766.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887226"],"photo_id":"1349887226","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acce8733785062e1e3fe2995687773f0.jpg","text":"TemporaryFile(/tmp/multipartBody2277608267582502370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717204509,"filename":"image_15042025_13_38_02_0766.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349887226"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349887226"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.869831323623657 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:40:02.860740
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_01_8553.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_01_8553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_01_8553.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887277"],"photo_id":"1349887277","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6dbe90acf3c56fc874a57a8d456620a4.jpg","text":"TemporaryFile(/tmp/multipartBody8299898895867774966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263635,"filename":"image_15042025_13_39_01_8553.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349887277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349887277"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.693341970443726 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:41:03.605320
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_02_0695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_02_0695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_02_0695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887585"],"photo_id":"1349887585","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbeda3e49bb6cb8130074cc1fb7893df.jpg","text":"TemporaryFile(/tmp/multipartBody5977811093022832393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717324381,"filename":"image_15042025_13_40_02_0695.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349887585"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349887585"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.481718301773071 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:42:02.752279
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_01_5534.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_01_5534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_01_5534.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349888206"],"photo_id":"1349888206","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72f1218f67474ba8418cea1bf655078b.jpg","text":"TemporaryFile(/tmp/multipartBody5114028437769847521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717383511,"filename":"image_15042025_13_41_01_5534.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349888206"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349888206"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.727208137512207 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:43:03.403780
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_01_7106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_01_7106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_01_7106.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349888494"],"photo_id":"1349888494","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f34c20d162b2f6b1597fc9a418261c04.jpg","text":"TemporaryFile(/tmp/multipartBody8849007995903259726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717444092,"filename":"image_15042025_13_42_01_7106.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349888494"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349888494"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.286691427230835 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:44:02.665079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg', 2), ('/home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_01_6139.jpg', 2), ('/home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_02_1449.jpg', 2), ('/home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_01_8589.jpg', 2), ('/home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_01_9913.jpg', 2), ('/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg', '/home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_01_6139.jpg', '/home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_02_1449.jpg', '/home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_01_8589.jpg', '/home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_01_9913.jpg', '/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg
/home/pi/Desktop/images/14042025/22/57/image_14042025_22_57_01_6139.jpg
/home/pi/Desktop/images/14042025/22/56/image_14042025_22_56_02_1449.jpg
/home/pi/Desktop/images/14042025/22/55/image_14042025_22_55_01_8589.jpg
/home/pi/Desktop/images/14042025/22/52/image_14042025_22_52_01_9913.jpg
/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889035","1349889097","1349889124","1349889001","1349889066","1349888955"],"photo_ids_order":["1349888955","1349889001","1349889035","1349889066","1349889097","1349889124"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e831dcabf8143c18d4b96f19c68407b2.jpg","text":"TemporaryFile(/tmp/multipartBody6561174899642312608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717506279,"filename":"image_14042025_22_56_02_1449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48c4af5064525a190f4f565325d5faf3.jpg","text":"TemporaryFile(/tmp/multipartBody4583855261844274722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717506279,"filename":"image_14042025_22_52_01_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4307401a8aa4d8e99b640c1bbde61e8.jpg","text":"TemporaryFile(/tmp/multipartBody6271628150748193107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717506279,"filename":"image_14042025_22_48_01_7969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70a0e0ac3f9900525cc6a52a4a19e74c.jpg","text":"TemporaryFile(/tmp/multipartBody533174167501281815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717506279,"filename":"image_14042025_22_57_01_6139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98ba29e56ba408101513e1d324d28059.jpg","text":"TemporaryFile(/tmp/multipartBody6005903787337075647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717506279,"filename":"image_14042025_22_55_01_8589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b630949f6669f557352f8bd93d2ebffc.jpg","text":"TemporaryFile(/tmp/multipartBody2252815948746434874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717506279,"filename":"image_14042025_22_58_01_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889035","file1":"1349889001","file0":"1349888955","file4":"1349889097","file5":"1349889124","file3":"1349889066"},"map_files_photo_id_array":[{"photo_id":"1349889124","filename":"file5"},{"photo_id":"1349889035","filename":"file2"},{"photo_id":"1349889097","filename":"file4"},{"photo_id":"1349889001","filename":"file1"},{"photo_id":"1349888955","filename":"file0"},{"photo_id":"1349889066","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349889035":["hashtag1","hashtag2"]},{"1349889097":["hashtag1","hashtag2"]},{"1349889124":["hashtag1","hashtag2"]},{"1349889001":["hashtag1","hashtag2"]},{"1349889066":["hashtag1","hashtag2"]},{"1349888955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349889035, 1349889097, 1349889124, 1349889001, 1349889066, 1349888955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.524938344955444 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:46:03.518224
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_01_4163.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_01_4163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_01_4163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889344"],"photo_id":"1349889344","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0d4b3f7122f4f4213055f8b4a097122.jpg","text":"TemporaryFile(/tmp/multipartBody4552184966174759326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717624292,"filename":"image_15042025_13_43_01_4163.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349889344"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349889344"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.631346225738525 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:47:03.297624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/47/image_14042025_22_47_01_7832.jpg', 2), ('/home/pi/Desktop/images/14042025/22/45/image_14042025_22_45_01_3971.jpg', 2), ('/home/pi/Desktop/images/14042025/22/44/image_14042025_22_44_02_1857.jpg', 2), ('/home/pi/Desktop/images/14042025/22/36/image_14042025_22_36_01_9217.jpg', 2), ('/home/pi/Desktop/images/14042025/22/35/image_14042025_22_35_01_3885.jpg', 2), ('/home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_01_8674.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/47/image_14042025_22_47_01_7832.jpg', '/home/pi/Desktop/images/14042025/22/45/image_14042025_22_45_01_3971.jpg', '/home/pi/Desktop/images/14042025/22/44/image_14042025_22_44_02_1857.jpg', '/home/pi/Desktop/images/14042025/22/36/image_14042025_22_36_01_9217.jpg', '/home/pi/Desktop/images/14042025/22/35/image_14042025_22_35_01_3885.jpg', '/home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_01_8674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/47/image_14042025_22_47_01_7832.jpg
/home/pi/Desktop/images/14042025/22/45/image_14042025_22_45_01_3971.jpg
/home/pi/Desktop/images/14042025/22/44/image_14042025_22_44_02_1857.jpg
/home/pi/Desktop/images/14042025/22/36/image_14042025_22_36_01_9217.jpg
/home/pi/Desktop/images/14042025/22/35/image_14042025_22_35_01_3885.jpg
/home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_01_8674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889557","1349889772","1349889694","1349889874","1349889535","1349889633"],"photo_ids_order":["1349889535","1349889557","1349889633","1349889694","1349889772","1349889874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03cbe80c9574bf253e62a2869cc8fcfd.jpg","text":"TemporaryFile(/tmp/multipartBody1650590729566865915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717688437,"filename":"image_14042025_22_45_01_3971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4860601660ea58991944eadb493f77bf.jpg","text":"TemporaryFile(/tmp/multipartBody4336822979705622670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717688437,"filename":"image_14042025_22_35_01_3885.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/502665a97dca73428deebb23d222f856.jpg","text":"TemporaryFile(/tmp/multipartBody4911429047220177890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717688437,"filename":"image_14042025_22_36_01_9217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35772b0041866687367026112634e8e3.jpg","text":"TemporaryFile(/tmp/multipartBody6521358356141413421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717688437,"filename":"image_14042025_22_34_01_8674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/465c9b607e7958804800173f915dca7b.jpg","text":"TemporaryFile(/tmp/multipartBody1866422061347435413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717688437,"filename":"image_14042025_22_47_01_7832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c182eddff6746faca965d6319a40aee.jpg","text":"TemporaryFile(/tmp/multipartBody3984483507950884929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717688437,"filename":"image_14042025_22_44_02_1857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889633","file1":"1349889557","file0":"1349889535","file4":"1349889772","file5":"1349889874","file3":"1349889694"},"map_files_photo_id_array":[{"photo_id":"1349889874","filename":"file5"},{"photo_id":"1349889633","filename":"file2"},{"photo_id":"1349889772","filename":"file4"},{"photo_id":"1349889557","filename":"file1"},{"photo_id":"1349889535","filename":"file0"},{"photo_id":"1349889694","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349889557":["hashtag1","hashtag2"]},{"1349889772":["hashtag1","hashtag2"]},{"1349889694":["hashtag1","hashtag2"]},{"1349889874":["hashtag1","hashtag2"]},{"1349889535":["hashtag1","hashtag2"]},{"1349889633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349889557, 1349889772, 1349889694, 1349889874, 1349889535, 1349889633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.6124370098114 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:49:03.158714
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_01_6279.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_01_6279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_01_6279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890220"],"photo_id":"1349890220","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43a2f4f95b93c666d2b6530f96fedd9e.jpg","text":"TemporaryFile(/tmp/multipartBody4598725583074698016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717803996,"filename":"image_15042025_13_46_01_6279.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349890220"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349890220"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.8163321018219 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:50:02.572795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_02_1445.jpg', 2), ('/home/pi/Desktop/images/14042025/22/32/image_14042025_22_32_02_0748.jpg', 2), ('/home/pi/Desktop/images/14042025/22/31/image_14042025_22_31_01_8248.jpg', 2), ('/home/pi/Desktop/images/14042025/22/30/image_14042025_22_30_01_8327.jpg', 2), ('/home/pi/Desktop/images/14042025/22/29/image_14042025_22_29_01_5268.jpg', 2), ('/home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_01_2345.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_02_1445.jpg', '/home/pi/Desktop/images/14042025/22/32/image_14042025_22_32_02_0748.jpg', '/home/pi/Desktop/images/14042025/22/31/image_14042025_22_31_01_8248.jpg', '/home/pi/Desktop/images/14042025/22/30/image_14042025_22_30_01_8327.jpg', '/home/pi/Desktop/images/14042025/22/29/image_14042025_22_29_01_5268.jpg', '/home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_01_2345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_02_1445.jpg
/home/pi/Desktop/images/14042025/22/32/image_14042025_22_32_02_0748.jpg
/home/pi/Desktop/images/14042025/22/31/image_14042025_22_31_01_8248.jpg
/home/pi/Desktop/images/14042025/22/30/image_14042025_22_30_01_8327.jpg
/home/pi/Desktop/images/14042025/22/29/image_14042025_22_29_01_5268.jpg
/home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_01_2345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890364","1349890430","1349890393","1349890378","1349890333","1349890419"],"photo_ids_order":["1349890333","1349890364","1349890378","1349890393","1349890419","1349890430"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26c379614f3bdbda3cc759b7d9d98bce.jpg","text":"TemporaryFile(/tmp/multipartBody3082803041469511379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717867551,"filename":"image_14042025_22_32_02_0748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31ef45ea4bdfc17acb95988c7296700e.jpg","text":"TemporaryFile(/tmp/multipartBody1531103584121382158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717867551,"filename":"image_14042025_22_28_01_2345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f48c1050a1f9cecc24aff5eca88b355.jpg","text":"TemporaryFile(/tmp/multipartBody8890209279139697253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717867551,"filename":"image_14042025_22_30_01_8327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5094d9fde43706499173ca481811dd43.jpg","text":"TemporaryFile(/tmp/multipartBody7527730543780130239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717867551,"filename":"image_14042025_22_31_01_8248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ccb20f9f6643511ecb29d8b3dc3c230.jpg","text":"TemporaryFile(/tmp/multipartBody5914746042704066169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717867551,"filename":"image_14042025_22_33_02_1445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e9f8714b30fc19d1bf47d0f79e1e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody6261431661959858312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717867551,"filename":"image_14042025_22_29_01_5268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890378","file1":"1349890364","file0":"1349890333","file4":"1349890419","file5":"1349890430","file3":"1349890393"},"map_files_photo_id_array":[{"photo_id":"1349890430","filename":"file5"},{"photo_id":"1349890378","filename":"file2"},{"photo_id":"1349890419","filename":"file4"},{"photo_id":"1349890364","filename":"file1"},{"photo_id":"1349890333","filename":"file0"},{"photo_id":"1349890393","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349890364":["hashtag1","hashtag2"]},{"1349890430":["hashtag1","hashtag2"]},{"1349890393":["hashtag1","hashtag2"]},{"1349890378":["hashtag1","hashtag2"]},{"1349890333":["hashtag1","hashtag2"]},{"1349890419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349890364, 1349890430, 1349890393, 1349890378, 1349890333, 1349890419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.644835472106934 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:52:03.403248
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_01_4729.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_01_4729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_01_4729.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890541"],"photo_id":"1349890541","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22afb2bcc89a896af29263b7c65d5114.jpg","text":"TemporaryFile(/tmp/multipartBody7504585204256046926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717984140,"filename":"image_15042025_13_48_01_4729.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349890541"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349890541"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.999088764190674 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:53:03.064283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/27/image_14042025_22_27_02_1208.jpg', 2), ('/home/pi/Desktop/images/14042025/22/26/image_14042025_22_26_01_9037.jpg', 2), ('/home/pi/Desktop/images/14042025/22/20/image_14042025_22_20_02_2401.jpg', 2), ('/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg', 2), ('/home/pi/Desktop/images/14042025/22/12/image_14042025_22_12_01_8493.jpg', 2), ('/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/27/image_14042025_22_27_02_1208.jpg', '/home/pi/Desktop/images/14042025/22/26/image_14042025_22_26_01_9037.jpg', '/home/pi/Desktop/images/14042025/22/20/image_14042025_22_20_02_2401.jpg', '/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg', '/home/pi/Desktop/images/14042025/22/12/image_14042025_22_12_01_8493.jpg', '/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/27/image_14042025_22_27_02_1208.jpg
/home/pi/Desktop/images/14042025/22/26/image_14042025_22_26_01_9037.jpg
/home/pi/Desktop/images/14042025/22/20/image_14042025_22_20_02_2401.jpg
/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg
/home/pi/Desktop/images/14042025/22/12/image_14042025_22_12_01_8493.jpg
/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890630","1349890624","1349890612","1349890647","1349890656","1349890638"],"photo_ids_order":["1349890612","1349890624","1349890630","1349890638","1349890647","1349890656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4e9049a8004cc6ab8fbc99ed7a24428.jpg","text":"TemporaryFile(/tmp/multipartBody8358181647845174511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718048074,"filename":"image_14042025_22_20_02_2401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a39c87717104dd64baf0d566e28aef8e.jpg","text":"TemporaryFile(/tmp/multipartBody6024867758662207472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718048074,"filename":"image_14042025_22_26_01_9037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/020c2480981c821ecb34743f3df77604.jpg","text":"TemporaryFile(/tmp/multipartBody177831314375694906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718048074,"filename":"image_14042025_22_27_02_1208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62b40e3fbeb2eb4d918cba217b6e3e49.jpg","text":"TemporaryFile(/tmp/multipartBody1439474007714299179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718048074,"filename":"image_14042025_22_12_01_8493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4eae4a0bdf15fc063c5ddbb115bc117b.jpg","text":"TemporaryFile(/tmp/multipartBody2192658160912865792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718048074,"filename":"image_14042025_22_11_01_6457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6a380434bfa5727ce5de682c1583300.jpg","text":"TemporaryFile(/tmp/multipartBody7221966116746142292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718048074,"filename":"image_14042025_22_13_01_9271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890630","file1":"1349890624","file0":"1349890612","file4":"1349890647","file5":"1349890656","file3":"1349890638"},"map_files_photo_id_array":[{"photo_id":"1349890656","filename":"file5"},{"photo_id":"1349890630","filename":"file2"},{"photo_id":"1349890647","filename":"file4"},{"photo_id":"1349890624","filename":"file1"},{"photo_id":"1349890612","filename":"file0"},{"photo_id":"1349890638","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349890630":["hashtag1","hashtag2"]},{"1349890624":["hashtag1","hashtag2"]},{"1349890612":["hashtag1","hashtag2"]},{"1349890647":["hashtag1","hashtag2"]},{"1349890656":["hashtag1","hashtag2"]},{"1349890638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349890630, 1349890624, 1349890612, 1349890647, 1349890656, 1349890638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.69299817085266 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:55:03.504472
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_01_5405.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_01_5405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_01_5405.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890844"],"photo_id":"1349890844","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a52a5cf78bd39130790e65f244ae30fd.jpg","text":"TemporaryFile(/tmp/multipartBody6768727574447451978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718164316,"filename":"image_15042025_13_52_01_5405.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349890844"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349890844"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.200625896453857 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:56:02.894751
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_01_2888.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_01_2888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_01_2888.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349891014"],"photo_id":"1349891014","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d1e4f695da8d3c30810bebffcaeb289.jpg","text":"TemporaryFile(/tmp/multipartBody8333404117135908643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718223678,"filename":"image_15042025_13_54_01_2888.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349891014"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349891014"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.214749574661255 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:57:03.768546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_02_2416.jpg', 2), ('/home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_01_6635.jpg', 2), ('/home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_02_0695.jpg', 2), ('/home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_02_2372.jpg', 2), ('/home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_01_5351.jpg', 2), ('/home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_01_4078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_02_2416.jpg', '/home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_01_6635.jpg', '/home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_02_0695.jpg', '/home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_02_2372.jpg', '/home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_01_5351.jpg', '/home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_01_4078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_02_2416.jpg
/home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_01_6635.jpg
/home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_02_0695.jpg
/home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_02_2372.jpg
/home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_01_5351.jpg
/home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_01_4078.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 13:59:03.852658
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_01_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_01_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_01_9683.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349891933"],"photo_id":"1349891933","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62e74a2988054e1561c553f0ecef5c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8660885880084797698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404664,"filename":"image_15042025_13_56_01_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349891933"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349891933"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.636195182800293 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:00:03.132032
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_01_9378.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_01_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_01_9378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349892464"],"photo_id":"1349892464","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa17013177b45e9c8503fc117e533849.jpg","text":"TemporaryFile(/tmp/multipartBody6374389901687205782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718463880,"filename":"image_15042025_13_58_01_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349892464"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349892464"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.195838689804077 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:01:03.856858
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/00/image_15042025_14_00_02_1601.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/00/image_15042025_14_00_02_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/00/image_15042025_14_00_02_1601.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349893201"],"photo_id":"1349893201","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1d7175841c6d954d653cb041e3c7b1b.jpg","text":"TemporaryFile(/tmp/multipartBody6074196720952294721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718524657,"filename":"image_15042025_14_00_02_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349893201"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349893201"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.636446714401245 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:02:03.045079
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.4114060401916504 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_01_7293.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_01_7293.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:03:03.282354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_02_2416.jpg', 2), ('/home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_01_6635.jpg', 2), ('/home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_02_0695.jpg', 2), ('/home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_02_2372.jpg', 2), ('/home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_01_5351.jpg', 2), ('/home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_01_4078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_02_2416.jpg', '/home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_01_6635.jpg', '/home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_02_0695.jpg', '/home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_02_2372.jpg', '/home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_01_5351.jpg', '/home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_01_4078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/10/image_14042025_22_10_02_2416.jpg
/home/pi/Desktop/images/14042025/22/09/image_14042025_22_09_01_6635.jpg
/home/pi/Desktop/images/14042025/22/08/image_14042025_22_08_02_0695.jpg
/home/pi/Desktop/images/14042025/22/07/image_14042025_22_07_02_2372.jpg
/home/pi/Desktop/images/14042025/22/06/image_14042025_22_06_01_5351.jpg
/home/pi/Desktop/images/14042025/22/05/image_14042025_22_05_01_4078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349895021","1349895317","1349894852","1349895200","1349895145","1349895087"],"photo_ids_order":["1349894852","1349895021","1349895087","1349895145","1349895200","1349895317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94eb980aa701bd1cd465720e8eadee84.jpg","text":"TemporaryFile(/tmp/multipartBody8670886556533483761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718647040,"filename":"image_14042025_22_09_01_6635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01d55a68e6f4340bdaacc0ea0b925a91.jpg","text":"TemporaryFile(/tmp/multipartBody8995096836047418973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718647040,"filename":"image_14042025_22_05_01_4078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4646194ce38a52bf1274ba7c42b40cc.jpg","text":"TemporaryFile(/tmp/multipartBody7225926674239355060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718647040,"filename":"image_14042025_22_10_02_2416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c2e9ebd6921fc8f097d1f8c77b805b4.jpg","text":"TemporaryFile(/tmp/multipartBody8285620953936305594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718647040,"filename":"image_14042025_22_06_01_5351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca9a4ba53e9e4e599e0d8dcdda8db35d.jpg","text":"TemporaryFile(/tmp/multipartBody6475586933461521635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718647040,"filename":"image_14042025_22_07_02_2372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64cb14f63ce1886c0dbb612cf7faca49.jpg","text":"TemporaryFile(/tmp/multipartBody4161665952147011421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718647040,"filename":"image_14042025_22_08_02_0695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349895087","file1":"1349895021","file0":"1349894852","file4":"1349895200","file5":"1349895317","file3":"1349895145"},"map_files_photo_id_array":[{"photo_id":"1349895317","filename":"file5"},{"photo_id":"1349895087","filename":"file2"},{"photo_id":"1349895200","filename":"file4"},{"photo_id":"1349895021","filename":"file1"},{"photo_id":"1349894852","filename":"file0"},{"photo_id":"1349895145","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349895021":["hashtag1","hashtag2"]},{"1349895317":["hashtag1","hashtag2"]},{"1349894852":["hashtag1","hashtag2"]},{"1349895200":["hashtag1","hashtag2"]},{"1349895145":["hashtag1","hashtag2"]},{"1349895087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349895021, 1349895317, 1349894852, 1349895200, 1349895145, 1349895087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.339030027389526 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:05:03.845278
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_01_5523.jpg', 2), ('/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_01_7931.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_01_5523.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_01_7931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_01_5523.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_01_7931.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349895881","1349895982"],"photo_ids_order":["1349895881","1349895982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45fbace0e8096507b68411639587090d.jpg","text":"TemporaryFile(/tmp/multipartBody8028670844136283404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718765114,"filename":"image_15042025_14_04_01_5523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3320a366c91560b53e64038ff9e26f62.jpg","text":"TemporaryFile(/tmp/multipartBody4055998972486574132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718765114,"filename":"image_15042025_14_01_01_7931.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349895982","file0":"1349895881"},"map_files_photo_id_array":[{"photo_id":"1349895982","filename":"file1"},{"photo_id":"1349895881","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349895881":["hashtag1","hashtag2"]},{"1349895982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349895881, 1349895982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.48977041244507 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:06:03.075754
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_01_9309.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_01_9309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_01_9309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349896515"],"photo_id":"1349896515","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bfc8cee066c7dd9538a1a6231b2e60e.jpg","text":"TemporaryFile(/tmp/multipartBody6315711599239679844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823996,"filename":"image_15042025_14_05_01_9309.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349896515"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349896515"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.45234990119934 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:07:03.796408
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_02_0337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_02_0337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_02_0337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897128"],"photo_id":"1349897128","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29900b4a54886ac0cad2d7c9645e8824.jpg","text":"TemporaryFile(/tmp/multipartBody4871268232484231398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718884571,"filename":"image_15042025_14_06_02_0337.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349897128"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349897128"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.536280155181885 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:08:03.105390
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_01_7826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_01_7826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_01_7826.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897183"],"photo_id":"1349897183","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c359b5a473f905ee7e20f1876181cb21.jpg","text":"TemporaryFile(/tmp/multipartBody1576877081942477979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943876,"filename":"image_15042025_14_07_01_7826.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349897183"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349897183"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.811411380767822 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:09:03.586787
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_02_1519.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_02_1519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_02_1519.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897245"],"photo_id":"1349897245","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c8a807fe3cc5bc29667db8db27974d4.jpg","text":"TemporaryFile(/tmp/multipartBody8290362939832184609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004367,"filename":"image_15042025_14_08_02_1519.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349897245"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349897245"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.442341566085815 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:10:02.890580
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_01_8123.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_01_8123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_01_8123.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897344"],"photo_id":"1349897344","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce2d2ab8a689bacbefea1739262f111f.jpg","text":"TemporaryFile(/tmp/multipartBody67442182164143180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719063574,"filename":"image_15042025_14_09_01_8123.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349897344"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349897344"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.331552028656006 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:11:03.359297
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_01_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_01_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_01_9976.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897441"],"photo_id":"1349897441","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f23655587dd06a4481809e64af8872e8.jpg","text":"TemporaryFile(/tmp/multipartBody126712679110727462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719124164,"filename":"image_15042025_14_10_01_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349897441"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349897441"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.409414052963257 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:12:02.689702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/04/image_14042025_22_04_01_9904.jpg', 2), ('/home/pi/Desktop/images/14042025/22/00/image_14042025_22_00_02_2539.jpg', 2), ('/home/pi/Desktop/images/14042025/21/58/image_14042025_21_58_01_6077.jpg', 2), ('/home/pi/Desktop/images/14042025/21/57/image_14042025_21_57_01_8740.jpg', 2), ('/home/pi/Desktop/images/14042025/21/56/image_14042025_21_56_01_8188.jpg', 2), ('/home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_01_3563.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/04/image_14042025_22_04_01_9904.jpg', '/home/pi/Desktop/images/14042025/22/00/image_14042025_22_00_02_2539.jpg', '/home/pi/Desktop/images/14042025/21/58/image_14042025_21_58_01_6077.jpg', '/home/pi/Desktop/images/14042025/21/57/image_14042025_21_57_01_8740.jpg', '/home/pi/Desktop/images/14042025/21/56/image_14042025_21_56_01_8188.jpg', '/home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_01_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/04/image_14042025_22_04_01_9904.jpg
/home/pi/Desktop/images/14042025/22/00/image_14042025_22_00_02_2539.jpg
/home/pi/Desktop/images/14042025/21/58/image_14042025_21_58_01_6077.jpg
/home/pi/Desktop/images/14042025/21/57/image_14042025_21_57_01_8740.jpg
/home/pi/Desktop/images/14042025/21/56/image_14042025_21_56_01_8188.jpg
/home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_01_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897695","1349897683","1349897701","1349897649","1349897670","1349897660"],"photo_ids_order":["1349897649","1349897660","1349897670","1349897683","1349897695","1349897701"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c9d1b79b3ebb1c466d0cb116628561b.jpg","text":"TemporaryFile(/tmp/multipartBody6057524163921704429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719187762,"filename":"image_14042025_21_56_01_8188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68da32caca9cebeb5d0aef20b47fce98.jpg","text":"TemporaryFile(/tmp/multipartBody1118130183642772296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719187762,"filename":"image_14042025_21_57_01_8740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c48a00d314eebe1edc890ef91865eeec.jpg","text":"TemporaryFile(/tmp/multipartBody3523751020084957590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719187762,"filename":"image_14042025_21_55_01_3563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5d570f0d00f2306419f24854ae7da19.jpg","text":"TemporaryFile(/tmp/multipartBody5358223218493566750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719187762,"filename":"image_14042025_22_04_01_9904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81d8cfc884f53f03bf122929e0f64c76.jpg","text":"TemporaryFile(/tmp/multipartBody5213997363596076630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719187762,"filename":"image_14042025_21_58_01_6077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14da0691a01b78f23ff415161cdd83a4.jpg","text":"TemporaryFile(/tmp/multipartBody6961107274245389734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719187762,"filename":"image_14042025_22_00_02_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897670","file1":"1349897660","file0":"1349897649","file4":"1349897695","file5":"1349897701","file3":"1349897683"},"map_files_photo_id_array":[{"photo_id":"1349897701","filename":"file5"},{"photo_id":"1349897670","filename":"file2"},{"photo_id":"1349897695","filename":"file4"},{"photo_id":"1349897660","filename":"file1"},{"photo_id":"1349897649","filename":"file0"},{"photo_id":"1349897683","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349897695":["hashtag1","hashtag2"]},{"1349897683":["hashtag1","hashtag2"]},{"1349897701":["hashtag1","hashtag2"]},{"1349897649":["hashtag1","hashtag2"]},{"1349897670":["hashtag1","hashtag2"]},{"1349897660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349897695, 1349897683, 1349897701, 1349897649, 1349897670, 1349897660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.75576639175415 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:14:02.909974
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_01_4075.jpg', 2), ('/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_5453.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_01_4075.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_5453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_01_4075.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_5453.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897805","1349897792"],"photo_ids_order":["1349897792","1349897805"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c79103d7c8bf3b3427417c5c8088bfa9.jpg","text":"TemporaryFile(/tmp/multipartBody396074313299222248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719304097,"filename":"image_15042025_14_11_01_5453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/debc96564376d8fc112e5c96fc371b48.jpg","text":"TemporaryFile(/tmp/multipartBody7178328876757877321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719304097,"filename":"image_15042025_14_13_01_4075.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349897805","file0":"1349897792"},"map_files_photo_id_array":[{"photo_id":"1349897805","filename":"file1"},{"photo_id":"1349897792","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349897805":["hashtag1","hashtag2"]},{"1349897792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349897805, 1349897792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.306925535202026 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:15:03.683029
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_01_8909.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_01_8909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_01_8909.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897869"],"photo_id":"1349897869","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc4ccd609db30f8ae8730b528dac7c60.jpg","text":"TemporaryFile(/tmp/multipartBody3998683685940686200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719364478,"filename":"image_15042025_14_14_01_8909.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349897869"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349897869"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.73977780342102 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:16:02.896967
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_01_6536.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_01_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_01_6536.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7447106838226318 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:17:03.639121
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_01_6536.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_01_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_01_6536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898023"],"photo_id":"1349898023","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7ff171c4a10983a559e6a12f35eb3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2460844711440974058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719484490,"filename":"image_15042025_14_15_01_6536.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898023"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898023"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.735012531280518 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:18:02.789467
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_01_9011.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_01_9011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_01_9011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898283"],"photo_id":"1349898283","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a8bb166f1026f2a168136f145281241.jpg","text":"TemporaryFile(/tmp/multipartBody4058726087163599982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719543550,"filename":"image_15042025_14_16_01_9011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898283"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898283"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.668148040771484 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:19:03.552847
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_01_8470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_01_8470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_01_8470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898361"],"photo_id":"1349898361","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f37eeaec556228ccd18e0d601e37479.jpg","text":"TemporaryFile(/tmp/multipartBody8854167929960400591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719604277,"filename":"image_15042025_14_18_01_8470.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898361"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898361"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.381149530410767 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:20:02.812139
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_01_5366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_01_5366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_01_5366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898428"],"photo_id":"1349898428","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63fe540b5e48d3fae50b6812a4c1697f.jpg","text":"TemporaryFile(/tmp/multipartBody799216228585131216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663552,"filename":"image_15042025_14_19_01_5366.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898428"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898428"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.138783693313599 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:21:03.569447
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_01_8326.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_01_8326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_01_8326.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898523"],"photo_id":"1349898523","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7643e2eddd478c9bcc47994bc2ca1c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6834470658155806923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719724332,"filename":"image_15042025_14_20_01_8326.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898523"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898523"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.388518333435059 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:22:02.683487
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_01_4737.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_01_4737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_01_4737.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898605"],"photo_id":"1349898605","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82ddb6642a0c2e2ff8fce36e546e20df.jpg","text":"TemporaryFile(/tmp/multipartBody4041168410825179064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783415,"filename":"image_15042025_14_21_01_4737.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898605"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898605"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.32956600189209 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:23:03.204685
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_01_6674.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_01_6674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_01_6674.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898724"],"photo_id":"1349898724","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/872e119a4f4f23b84294b2e64f8458b5.jpg","text":"TemporaryFile(/tmp/multipartBody4425349663195567934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719843985,"filename":"image_15042025_14_22_01_6674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898724"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898724"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.507837772369385 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:24:02.747629
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_01_2842.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_01_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_01_2842.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898880"],"photo_id":"1349898880","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d09382d533f84160d0c30ca4ca2682d.jpg","text":"TemporaryFile(/tmp/multipartBody6751093825756151144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903440,"filename":"image_15042025_14_23_01_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349898880"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349898880"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.214048862457275 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:25:07.405817
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_01_5886.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_01_5886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_01_5886.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899102"],"photo_id":"1349899102","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcdadf4a067f11e11c241c9176e66207.jpg","text":"TemporaryFile(/tmp/multipartBody2175656655595762516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719969183,"filename":"image_15042025_14_24_01_5886.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349899102"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349899102"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.322815418243408 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:26:05.564084
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_01_2654.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_01_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_01_2654.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899625"],"photo_id":"1349899625","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47e9e08585bd0dc67ed59f0e688bc9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2454455823416310924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720026545,"filename":"image_15042025_14_25_01_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349899625"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349899625"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.872971534729004 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:27:04.512022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/54/image_14042025_21_54_01_7206.jpg', 2), ('/home/pi/Desktop/images/14042025/21/48/image_14042025_21_48_01_9562.jpg', 2), ('/home/pi/Desktop/images/14042025/21/47/image_14042025_21_47_01_7344.jpg', 2), ('/home/pi/Desktop/images/14042025/21/46/image_14042025_21_46_01_5375.jpg', 2), ('/home/pi/Desktop/images/14042025/21/45/image_14042025_21_45_02_3166.jpg', 2), ('/home/pi/Desktop/images/14042025/21/44/image_14042025_21_44_01_7182.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/54/image_14042025_21_54_01_7206.jpg', '/home/pi/Desktop/images/14042025/21/48/image_14042025_21_48_01_9562.jpg', '/home/pi/Desktop/images/14042025/21/47/image_14042025_21_47_01_7344.jpg', '/home/pi/Desktop/images/14042025/21/46/image_14042025_21_46_01_5375.jpg', '/home/pi/Desktop/images/14042025/21/45/image_14042025_21_45_02_3166.jpg', '/home/pi/Desktop/images/14042025/21/44/image_14042025_21_44_01_7182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/54/image_14042025_21_54_01_7206.jpg
/home/pi/Desktop/images/14042025/21/48/image_14042025_21_48_01_9562.jpg
/home/pi/Desktop/images/14042025/21/47/image_14042025_21_47_01_7344.jpg
/home/pi/Desktop/images/14042025/21/46/image_14042025_21_46_01_5375.jpg
/home/pi/Desktop/images/14042025/21/45/image_14042025_21_45_02_3166.jpg
/home/pi/Desktop/images/14042025/21/44/image_14042025_21_44_01_7182.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899971","1349899881","1349899875","1349899866","1349899803","1349899957"],"photo_ids_order":["1349899803","1349899866","1349899875","1349899881","1349899957","1349899971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b90720bd5f5d9084bd452537b42b171b.jpg","text":"TemporaryFile(/tmp/multipartBody7472806650534507296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720089881,"filename":"image_14042025_21_44_01_7182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be6deaf828dc98085ad057c39120dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody3965046189555462290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720089881,"filename":"image_14042025_21_46_01_5375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29c95ff26dc31653d246a9d015bfc370.jpg","text":"TemporaryFile(/tmp/multipartBody8215270601314541563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720089881,"filename":"image_14042025_21_47_01_7344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b826582df68d3625faccc8205f4c73bf.jpg","text":"TemporaryFile(/tmp/multipartBody8076109498600251336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720089881,"filename":"image_14042025_21_48_01_9562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/230815c68f7223c2f21f66e2fe761bcc.jpg","text":"TemporaryFile(/tmp/multipartBody975989110601778595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720089881,"filename":"image_14042025_21_54_01_7206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/840d2c6c88210ad583b34a54b62a04f8.jpg","text":"TemporaryFile(/tmp/multipartBody7421587528389517865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720089881,"filename":"image_14042025_21_45_02_3166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349899875","file1":"1349899866","file0":"1349899803","file4":"1349899957","file5":"1349899971","file3":"1349899881"},"map_files_photo_id_array":[{"photo_id":"1349899971","filename":"file5"},{"photo_id":"1349899875","filename":"file2"},{"photo_id":"1349899957","filename":"file4"},{"photo_id":"1349899866","filename":"file1"},{"photo_id":"1349899803","filename":"file0"},{"photo_id":"1349899881","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349899971":["hashtag1","hashtag2"]},{"1349899881":["hashtag1","hashtag2"]},{"1349899875":["hashtag1","hashtag2"]},{"1349899866":["hashtag1","hashtag2"]},{"1349899803":["hashtag1","hashtag2"]},{"1349899957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349899971, 1349899881, 1349899875, 1349899866, 1349899803, 1349899957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.17645764350891 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:29:03.354835
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_02_0640.jpg', 2), ('/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_01_8092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_02_0640.jpg', '/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_01_8092.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_02_0640.jpg
/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_01_8092.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900210","1349900221"],"photo_ids_order":["1349900210","1349900221"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84ffc4bbfd7a26abeaa12fcca0a14f6b.jpg","text":"TemporaryFile(/tmp/multipartBody235130588172216143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204572,"filename":"image_15042025_14_28_02_0640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00f010a840f5d2517ffc0e7abd7e216e.jpg","text":"TemporaryFile(/tmp/multipartBody8783051147885099187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204572,"filename":"image_15042025_14_26_01_8092.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349900221","file0":"1349900210"},"map_files_photo_id_array":[{"photo_id":"1349900221","filename":"file1"},{"photo_id":"1349900210","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349900210":["hashtag1","hashtag2"]},{"1349900221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349900210, 1349900221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.26141095161438 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:30:03.518376
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_01_4325.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_01_4325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_01_4325.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900290"],"photo_id":"1349900290","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8283eb78c3a8a7700bcfeced178b42ac.jpg","text":"TemporaryFile(/tmp/multipartBody4059904862989343346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720264261,"filename":"image_15042025_14_29_01_4325.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349900290"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349900290"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.770554304122925 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:31:03.265499
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/30/image_15042025_14_30_01_5196.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/30/image_15042025_14_30_01_5196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/30/image_15042025_14_30_01_5196.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900361"],"photo_id":"1349900361","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/327329f21e42ed99684bc3110f03436e.jpg","text":"TemporaryFile(/tmp/multipartBody7632831780771980358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_30_01_5196.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349900361"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349900361"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.504572629928589 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:32:03.510782
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_02_2021.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_02_2021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_02_2021.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900570"],"photo_id":"1349900570","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90a9e630042ded4b4dd445f83bd1a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody3011844186903430885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720384257,"filename":"image_15042025_14_31_02_2021.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349900570"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349900570"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.93528437614441 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:33:03.348878
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_01_4234.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_01_4234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_01_4234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900824"],"photo_id":"1349900824","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/818dba613f37724e727f54acd05b7f84.jpg","text":"TemporaryFile(/tmp/multipartBody4530969110271057344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444101,"filename":"image_15042025_14_32_01_4234.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349900824"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349900824"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.698312520980835 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:34:03.496649
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_02_1820.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_02_1820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_02_1820.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900960"],"photo_id":"1349900960","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31d23f1ae732c4dce3e9e1863fbf7d31.jpg","text":"TemporaryFile(/tmp/multipartBody4196208847349931647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720504238,"filename":"image_15042025_14_33_02_1820.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349900960"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349900960"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.919836282730103 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:35:03.065123
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_01_4988.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_01_4988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_01_4988.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901122"],"photo_id":"1349901122","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6211609fc9b269fb8783aaf868f5ca58.jpg","text":"TemporaryFile(/tmp/multipartBody3699541866356215254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720563922,"filename":"image_15042025_14_34_01_4988.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901122"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901122"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.343366622924805 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:36:02.741244
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_02_1337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_02_1337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_02_1337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901253"],"photo_id":"1349901253","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bab6d0920883ab95659ba3074340a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4807857989973964135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720623454,"filename":"image_15042025_14_35_02_1337.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901253"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901253"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.851104259490967 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:37:03.364861
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_01_4854.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_01_4854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_01_4854.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901320"],"photo_id":"1349901320","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87ba7bf139f7be94f534447fad5bce29.jpg","text":"TemporaryFile(/tmp/multipartBody6008489127048178290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720684147,"filename":"image_15042025_14_36_01_4854.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901320"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901320"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.275304079055786 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:38:02.643904
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_01_4023.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_01_4023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_01_4023.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901400"],"photo_id":"1349901400","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/078fb1863f999af3388c3d1b1b42c1d3.jpg","text":"TemporaryFile(/tmp/multipartBody6518608421494290404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720743386,"filename":"image_15042025_14_37_01_4023.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901400"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901400"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.642518520355225 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:39:03.308398
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_01_6480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_01_6480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_01_6480.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901458"],"photo_id":"1349901458","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b55d217ca734173b17ce4331d81b7726.jpg","text":"TemporaryFile(/tmp/multipartBody7885566408824681838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804095,"filename":"image_15042025_14_38_01_6480.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901458"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901458"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.34251618385315 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:40:02.555983
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_01_3672.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_01_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_01_3672.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901555"],"photo_id":"1349901555","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05d5ccf5cdb0d7ce2ff863dbff3baccc.jpg","text":"TemporaryFile(/tmp/multipartBody4514670641805202868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720863315,"filename":"image_15042025_14_39_01_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901555"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901555"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.459867477416992 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:41:03.493309
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_01_6636.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_01_6636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_01_6636.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901653"],"photo_id":"1349901653","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7073f362720b281bb5fe096fbe8a880b.jpg","text":"TemporaryFile(/tmp/multipartBody6562973425599806652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924285,"filename":"image_15042025_14_40_01_6636.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901653"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901653"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.60922360420227 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:42:03.542888
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_01_2546.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_01_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_01_2546.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901878"],"photo_id":"1349901878","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cf425980fe1af3331ebf692ad03a78e.jpg","text":"TemporaryFile(/tmp/multipartBody7704927455671083582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720984317,"filename":"image_15042025_14_41_01_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349901878"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349901878"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.790960311889648 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:43:03.223679
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_01_5505.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_01_5505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_01_5505.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902156"],"photo_id":"1349902156","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63e97b3efdc985c8ceec3a304eb3eab6.jpg","text":"TemporaryFile(/tmp/multipartBody7913086308353044913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721043997,"filename":"image_15042025_14_42_01_5505.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349902156"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349902156"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.475456953048706 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:44:03.573735
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_02_1771.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_02_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_02_1771.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902366"],"photo_id":"1349902366","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/770d1356f57648f4d94263caadcaf976.jpg","text":"TemporaryFile(/tmp/multipartBody4564981283419824931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721104332,"filename":"image_15042025_14_43_02_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349902366"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349902366"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.867812633514404 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:45:03.178844
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_01_5476.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_01_5476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_01_5476.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902520"],"photo_id":"1349902520","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08cd83ba6ab246f475557069332139e3.jpg","text":"TemporaryFile(/tmp/multipartBody1432710815884928712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163994,"filename":"image_15042025_14_44_01_5476.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349902520"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349902520"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.54240345954895 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:46:03.290072
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_02_2223.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_02_2223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_02_2223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902646"],"photo_id":"1349902646","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a13f95cf5e07121d27b998033fff6a68.jpg","text":"TemporaryFile(/tmp/multipartBody5066063667476521987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721224026,"filename":"image_15042025_14_45_02_2223.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349902646"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349902646"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.266871213912964 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:47:03.365322
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_01_3573.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_01_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_01_3573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902812"],"photo_id":"1349902812","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5779700263cffc488fe7c922dfb1bf87.jpg","text":"TemporaryFile(/tmp/multipartBody1618383366876390314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721284247,"filename":"image_15042025_14_46_01_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349902812"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349902812"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.250038623809814 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:48:02.972505
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_01_9852.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_01_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_01_9852.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902973"],"photo_id":"1349902973","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4aa24d551cfefe0f3591070e1a2427f4.jpg","text":"TemporaryFile(/tmp/multipartBody1716882686219666422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721343730,"filename":"image_15042025_14_47_01_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349902973"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349902973"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.046436548233032 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:49:03.858280
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_01_5192.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_01_5192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_01_5192.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903136"],"photo_id":"1349903136","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9451cceb3fc19dbd56fd9206fb6b7ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6756496912588794217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721404635,"filename":"image_15042025_14_48_01_5192.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349903136"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349903136"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.19480037689209 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:50:02.894930
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_01_6223.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_01_6223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_01_6223.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7358968257904053 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:51:03.630623
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_01_9420.jpg', 2), ('/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_01_6223.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_01_9420.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_01_6223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_01_9420.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_01_6223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903450","1349903438"],"photo_ids_order":["1349903438","1349903450"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68ad63524e1e12bbc27c94f5527c34d4.jpg","text":"TemporaryFile(/tmp/multipartBody7103725379566803447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721525016,"filename":"image_15042025_14_49_01_6223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b480b5e9880c9592ceec9c31cbe760d.jpg","text":"TemporaryFile(/tmp/multipartBody3707623033817923583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721525016,"filename":"image_15042025_14_50_01_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349903450","file0":"1349903438"},"map_files_photo_id_array":[{"photo_id":"1349903450","filename":"file1"},{"photo_id":"1349903438","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349903450":["hashtag1","hashtag2"]},{"1349903438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349903450, 1349903438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.60189461708069 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:52:02.862492
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_01_5204.jpg', 2), ('/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_01_5390.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_01_5390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_01_5390.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0001037120819092 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_01_5204.jpg'],)
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:53:03.496029
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_01_5390.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_01_5390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_01_5390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903693"],"photo_id":"1349903693","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fb1989d5c2fdd40c6588425ce363ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2464730094508211502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721644249,"filename":"image_15042025_14_51_01_5390.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349903693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349903693"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.621169805526733 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:54:03.428647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/43/image_14042025_21_43_02_1283.jpg', 2), ('/home/pi/Desktop/images/14042025/21/42/image_14042025_21_42_01_3872.jpg', 2), ('/home/pi/Desktop/images/14042025/21/41/image_14042025_21_41_01_4412.jpg', 2), ('/home/pi/Desktop/images/14042025/21/36/image_14042025_21_36_01_3618.jpg', 2), ('/home/pi/Desktop/images/14042025/21/35/image_14042025_21_35_02_0217.jpg', 2), ('/home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_01_8586.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/43/image_14042025_21_43_02_1283.jpg', '/home/pi/Desktop/images/14042025/21/42/image_14042025_21_42_01_3872.jpg', '/home/pi/Desktop/images/14042025/21/41/image_14042025_21_41_01_4412.jpg', '/home/pi/Desktop/images/14042025/21/36/image_14042025_21_36_01_3618.jpg', '/home/pi/Desktop/images/14042025/21/35/image_14042025_21_35_02_0217.jpg', '/home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_01_8586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/43/image_14042025_21_43_02_1283.jpg
/home/pi/Desktop/images/14042025/21/42/image_14042025_21_42_01_3872.jpg
/home/pi/Desktop/images/14042025/21/41/image_14042025_21_41_01_4412.jpg
/home/pi/Desktop/images/14042025/21/36/image_14042025_21_36_01_3618.jpg
/home/pi/Desktop/images/14042025/21/35/image_14042025_21_35_02_0217.jpg
/home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_01_8586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903956","1349903938","1349904162","1349904117","1349903946","1349904134"],"photo_ids_order":["1349903938","1349903946","1349903956","1349904117","1349904134","1349904162"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/335529995aa0c858673a7f4d742fd321.jpg","text":"TemporaryFile(/tmp/multipartBody4211808381376442548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721708220,"filename":"image_14042025_21_41_01_4412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7ed5b1a43a09d373d7ab5a8fe099ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7210343973002088807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721708220,"filename":"image_14042025_21_43_02_1283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ed542bb3f0c39eae632079d654399f0.jpg","text":"TemporaryFile(/tmp/multipartBody2166042095926305237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721708220,"filename":"image_14042025_21_34_01_8586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03cec4ee90e7e9d4c7def39933b4f28a.jpg","text":"TemporaryFile(/tmp/multipartBody8472513455298602674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721708220,"filename":"image_14042025_21_36_01_3618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10e79012130d57c13c1097e2a0a957e0.jpg","text":"TemporaryFile(/tmp/multipartBody8292764298039888391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721708220,"filename":"image_14042025_21_42_01_3872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/805685a91ec06db0a1014e22bf8fe80a.jpg","text":"TemporaryFile(/tmp/multipartBody5137801944062122710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721708220,"filename":"image_14042025_21_35_02_0217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903956","file1":"1349903946","file0":"1349903938","file4":"1349904134","file5":"1349904162","file3":"1349904117"},"map_files_photo_id_array":[{"photo_id":"1349904162","filename":"file5"},{"photo_id":"1349903956","filename":"file2"},{"photo_id":"1349904134","filename":"file4"},{"photo_id":"1349903946","filename":"file1"},{"photo_id":"1349903938","filename":"file0"},{"photo_id":"1349904117","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349903956":["hashtag1","hashtag2"]},{"1349903938":["hashtag1","hashtag2"]},{"1349904162":["hashtag1","hashtag2"]},{"1349904117":["hashtag1","hashtag2"]},{"1349903946":["hashtag1","hashtag2"]},{"1349904134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349903956, 1349903938, 1349904162, 1349904117, 1349903946, 1349904134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.35907244682312 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:56:02.597590
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_02_1261.jpg', 2), ('/home/pi/Desktop/images/15042025/14/52/image_15042025_14_52_01_8555.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_02_1261.jpg', '/home/pi/Desktop/images/15042025/14/52/image_15042025_14_52_01_8555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_02_1261.jpg
/home/pi/Desktop/images/15042025/14/52/image_15042025_14_52_01_8555.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904284","1349904278"],"photo_ids_order":["1349904278","1349904284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c8e1d1a12b37ef2ef856609863b2e83.jpg","text":"TemporaryFile(/tmp/multipartBody3495015964153642334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721823744,"filename":"image_15042025_14_52_01_8555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c155d156b93096dc78851e5e08fa5a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1396435460559686263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721823744,"filename":"image_15042025_14_55_02_1261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349904284","file0":"1349904278"},"map_files_photo_id_array":[{"photo_id":"1349904284","filename":"file1"},{"photo_id":"1349904278","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349904284":["hashtag1","hashtag2"]},{"1349904278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349904284, 1349904278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.4263699054718 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:57:03.424434
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_01_6717.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_01_6717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_01_6717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904429"],"photo_id":"1349904429","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/042bab5aa6f2303501c2ded76c2f8906.jpg","text":"TemporaryFile(/tmp/multipartBody8931856223003000390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721884229,"filename":"image_15042025_14_56_01_6717.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349904429"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349904429"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.247172355651855 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 14:59:03.975752
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_01_3474.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_01_3474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_01_3474.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904889"],"photo_id":"1349904889","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39eac2e709a79d6e8a71a0cce0181b01.jpg","text":"TemporaryFile(/tmp/multipartBody6873074707857212779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004758,"filename":"image_15042025_14_57_01_3474.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349904889"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349904889"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.181081295013428 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:00:03.230902
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_01_5440.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_01_5440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_01_5440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349905342"],"photo_id":"1349905342","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71dad543412cd1a806e405f5849e0976.jpg","text":"TemporaryFile(/tmp/multipartBody253447517009253862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722063961,"filename":"image_15042025_14_58_01_5440.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349905342"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349905342"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.247276306152344 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:01:03.912000
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_02_1373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_02_1373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_02_1373.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349906100"],"photo_id":"1349906100","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32e7961523566fc097fa386c7d83a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2668609189074884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124720,"filename":"image_15042025_15_00_02_1373.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349906100"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349906100"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.34342622756958 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:02:03.205129
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_01_8809.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_01_8809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_01_8809.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349907105"],"photo_id":"1349907105","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43443bfe38fb6cae75a6fea48f4e551b.jpg","text":"TemporaryFile(/tmp/multipartBody2596034140683594991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722183940,"filename":"image_15042025_15_01_01_8809.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349907105"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349907105"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.193495988845825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:03:03.797579
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_02_1631.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_02_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_02_1631.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349907752"],"photo_id":"1349907752","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73d99ee68e178ce7d0c0bc5adf9f1921.jpg","text":"TemporaryFile(/tmp/multipartBody308992645772857268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722244571,"filename":"image_15042025_15_02_02_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349907752"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349907752"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.466880083084106 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:04:03.506920
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_01_8617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_01_8617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_01_8617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908152"],"photo_id":"1349908152","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a1ba36cd06dca11ec2abbdfa49872fe.jpg","text":"TemporaryFile(/tmp/multipartBody461160903769639959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722304259,"filename":"image_15042025_15_03_01_8617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349908152"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349908152"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.421975135803223 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:05:03.259799
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_02_0676.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_02_0676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_02_0676.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908582"],"photo_id":"1349908582","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d16e628e0b97317a6368c172b960779.jpg","text":"TemporaryFile(/tmp/multipartBody3233531413538623946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722364023,"filename":"image_15042025_15_04_02_0676.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349908582"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349908582"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.232175827026367 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:06:03.283990
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_02_1405.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_02_1405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_02_1405.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908715"],"photo_id":"1349908715","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ff00c9a09d1df5e7c3d1629330d38f8.jpg","text":"TemporaryFile(/tmp/multipartBody9121565016500314880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722424006,"filename":"image_15042025_15_05_02_1405.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349908715"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349908715"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.43495225906372 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:07:03.906806
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_01_3290.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_01_3290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_01_3290.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908781"],"photo_id":"1349908781","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/937ca7cca69191c9b1eed8a3aeefeb8d.jpg","text":"TemporaryFile(/tmp/multipartBody6743213083686374417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722484648,"filename":"image_15042025_15_06_01_3290.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349908781"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349908781"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.55889105796814 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:08:03.215306
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_01_9521.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_01_9521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_01_9521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908885"],"photo_id":"1349908885","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e74c0a1aedc51738b243d402518da0e.jpg","text":"TemporaryFile(/tmp/multipartBody3952416710904088762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543914,"filename":"image_15042025_15_07_01_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349908885"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349908885"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.930312633514404 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:09:03.941868
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_02_2077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_02_2077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_02_2077.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909299"],"photo_id":"1349909299","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9671001224b6ebdac7aff70dd8102453.jpg","text":"TemporaryFile(/tmp/multipartBody4218890181463686801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604712,"filename":"image_15042025_15_08_02_2077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349909299"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349909299"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.780275583267212 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:10:02.995303
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_01_8918.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_01_8918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_01_8918.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909426"],"photo_id":"1349909426","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef0d62841be4d541d1e30b2fd7650fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8741832076363293966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722663701,"filename":"image_15042025_15_09_01_8918.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349909426"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349909426"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.851743459701538 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:11:03.815861
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_02_1073.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_02_1073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_02_1073.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909716"],"photo_id":"1349909716","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/262433f58c0c325e136ea324a26194de.jpg","text":"TemporaryFile(/tmp/multipartBody6381606738349268475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722724637,"filename":"image_15042025_15_10_02_1073.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349909716"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349909716"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.727362632751465 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:12:02.891804
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_01_6972.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_01_6972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_01_6972.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910037"],"photo_id":"1349910037","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/338180c10a8035a3eecefd73ea4bca5e.jpg","text":"TemporaryFile(/tmp/multipartBody7672136859560664643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722783619,"filename":"image_15042025_15_11_01_6972.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349910037"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349910037"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.791473627090454 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:13:03.379607
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_01_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_01_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_01_9644.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910513"],"photo_id":"1349910513","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b9fe832d14f7259e15e9dccac001ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8470620664732280427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722844110,"filename":"image_15042025_15_12_01_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349910513"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349910513"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.017586946487427 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:14:02.954733
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_01_5100.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_01_5100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_01_5100.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910843"],"photo_id":"1349910843","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fd40e60790411c4f2ef3d8a2319f523.jpg","text":"TemporaryFile(/tmp/multipartBody851731309083948253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722903667,"filename":"image_15042025_15_13_01_5100.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349910843"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349910843"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.729422569274902 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:15:03.589233
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_01_6403.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_01_6403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_01_6403.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911119"],"photo_id":"1349911119","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e42066fdf9bd2315dd87155378726b2.jpg","text":"TemporaryFile(/tmp/multipartBody1322629500600075084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722964368,"filename":"image_15042025_15_14_01_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349911119"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349911119"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.280467748641968 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:16:02.818860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/33/image_14042025_21_33_01_3877.jpg', 2), ('/home/pi/Desktop/images/14042025/21/32/image_14042025_21_32_01_9758.jpg', 2), ('/home/pi/Desktop/images/14042025/21/30/image_14042025_21_30_01_6953.jpg', 2), ('/home/pi/Desktop/images/14042025/21/29/image_14042025_21_29_01_3962.jpg', 2), ('/home/pi/Desktop/images/14042025/21/27/image_14042025_21_27_01_3304.jpg', 2), ('/home/pi/Desktop/images/14042025/21/26/image_14042025_21_26_01_5792.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/33/image_14042025_21_33_01_3877.jpg', '/home/pi/Desktop/images/14042025/21/32/image_14042025_21_32_01_9758.jpg', '/home/pi/Desktop/images/14042025/21/30/image_14042025_21_30_01_6953.jpg', '/home/pi/Desktop/images/14042025/21/29/image_14042025_21_29_01_3962.jpg', '/home/pi/Desktop/images/14042025/21/27/image_14042025_21_27_01_3304.jpg', '/home/pi/Desktop/images/14042025/21/26/image_14042025_21_26_01_5792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/33/image_14042025_21_33_01_3877.jpg
/home/pi/Desktop/images/14042025/21/32/image_14042025_21_32_01_9758.jpg
/home/pi/Desktop/images/14042025/21/30/image_14042025_21_30_01_6953.jpg
/home/pi/Desktop/images/14042025/21/29/image_14042025_21_29_01_3962.jpg
/home/pi/Desktop/images/14042025/21/27/image_14042025_21_27_01_3304.jpg
/home/pi/Desktop/images/14042025/21/26/image_14042025_21_26_01_5792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911296","1349911308","1349911302","1349911286","1349911352","1349911325"],"photo_ids_order":["1349911286","1349911296","1349911302","1349911308","1349911325","1349911352"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fb09fa8e1c1fc1a1f2ec41ea85ea065.jpg","text":"TemporaryFile(/tmp/multipartBody4212164817575117424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723027749,"filename":"image_14042025_21_32_01_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8faec368838dc313a7c63642e521634.jpg","text":"TemporaryFile(/tmp/multipartBody5220093782213307517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723027749,"filename":"image_14042025_21_29_01_3962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9e5ae6cc01c655e5b66124fec96cff3.jpg","text":"TemporaryFile(/tmp/multipartBody3781039165898968947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723027749,"filename":"image_14042025_21_30_01_6953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28cdf7b13a61964d2aa9713910e43f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1020048247226272886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723027749,"filename":"image_14042025_21_33_01_3877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a7feac2e338eea7c94265ca3f617f53.jpg","text":"TemporaryFile(/tmp/multipartBody80852484215437624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723027749,"filename":"image_14042025_21_26_01_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d99bda068f8dfa4b317afcc80deb7072.jpg","text":"TemporaryFile(/tmp/multipartBody7285004661891685937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723027749,"filename":"image_14042025_21_27_01_3304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911302","file1":"1349911296","file0":"1349911286","file4":"1349911325","file5":"1349911352","file3":"1349911308"},"map_files_photo_id_array":[{"photo_id":"1349911352","filename":"file5"},{"photo_id":"1349911302","filename":"file2"},{"photo_id":"1349911325","filename":"file4"},{"photo_id":"1349911296","filename":"file1"},{"photo_id":"1349911286","filename":"file0"},{"photo_id":"1349911308","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349911296":["hashtag1","hashtag2"]},{"1349911308":["hashtag1","hashtag2"]},{"1349911302":["hashtag1","hashtag2"]},{"1349911286":["hashtag1","hashtag2"]},{"1349911352":["hashtag1","hashtag2"]},{"1349911325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349911296, 1349911308, 1349911302, 1349911286, 1349911352, 1349911325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.58111691474915 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:18:02.893890
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_5090.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_5090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_5090.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6607587337493896 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:19:03.824063
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_01_7971.jpg', 2), ('/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_5090.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_01_7971.jpg', '/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_5090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_01_7971.jpg
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_5090.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911766","1349911774"],"photo_ids_order":["1349911766","1349911774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/044d1bd9282fb0ad47ec2853e4395c89.jpg","text":"TemporaryFile(/tmp/multipartBody7218241649091396314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723205001,"filename":"image_15042025_15_18_01_7971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cad435dc973461122837eb2911b59602.jpg","text":"TemporaryFile(/tmp/multipartBody739341336196028783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723205001,"filename":"image_15042025_15_15_01_5090.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349911774","file0":"1349911766"},"map_files_photo_id_array":[{"photo_id":"1349911774","filename":"file1"},{"photo_id":"1349911766","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349911766":["hashtag1","hashtag2"]},{"1349911774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349911766, 1349911774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.460885286331177 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:20:02.872989
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_01_5929.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_01_5929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_01_5929.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911846"],"photo_id":"1349911846","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83b794b1df4239533ffea9f25ac87211.jpg","text":"TemporaryFile(/tmp/multipartBody5241797983383649350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263598,"filename":"image_15042025_15_19_01_5929.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349911846"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349911846"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.682746171951294 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:21:03.607365
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_01_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_01_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_01_9644.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912024"],"photo_id":"1349912024","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5184ad7d2cde16dad3e9429291c7dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody3795484000708701727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723324369,"filename":"image_15042025_15_20_01_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349912024"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349912024"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.53991985321045 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:22:02.792088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/25/image_14042025_21_25_01_5659.jpg', 2), ('/home/pi/Desktop/images/14042025/21/24/image_14042025_21_24_01_6470.jpg', 2), ('/home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_01_5133.jpg', 2), ('/home/pi/Desktop/images/14042025/21/22/image_14042025_21_22_01_9596.jpg', 2), ('/home/pi/Desktop/images/14042025/21/20/image_14042025_21_20_01_9779.jpg', 2), ('/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_01_8086.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/25/image_14042025_21_25_01_5659.jpg', '/home/pi/Desktop/images/14042025/21/24/image_14042025_21_24_01_6470.jpg', '/home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_01_5133.jpg', '/home/pi/Desktop/images/14042025/21/22/image_14042025_21_22_01_9596.jpg', '/home/pi/Desktop/images/14042025/21/20/image_14042025_21_20_01_9779.jpg', '/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_01_8086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/25/image_14042025_21_25_01_5659.jpg
/home/pi/Desktop/images/14042025/21/24/image_14042025_21_24_01_6470.jpg
/home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_01_5133.jpg
/home/pi/Desktop/images/14042025/21/22/image_14042025_21_22_01_9596.jpg
/home/pi/Desktop/images/14042025/21/20/image_14042025_21_20_01_9779.jpg
/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_01_8086.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912147","1349912141","1349912135","1349912188","1349912161","1349912128"],"photo_ids_order":["1349912128","1349912135","1349912141","1349912147","1349912161","1349912188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/679549c181d2492daee6ffbbfefe60d9.jpg","text":"TemporaryFile(/tmp/multipartBody6088263463135388034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723388377,"filename":"image_14042025_21_22_01_9596.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a06ff3092004380114109cc8f6f7b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7369795262943384314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723388377,"filename":"image_14042025_21_23_01_5133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c0ee655b0d6b373785aabc10870775c.jpg","text":"TemporaryFile(/tmp/multipartBody757544653207895932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723388377,"filename":"image_14042025_21_24_01_6470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd6af497c7f2f7deeb8fb3df4e62e56c.jpg","text":"TemporaryFile(/tmp/multipartBody5496694446793650588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723388377,"filename":"image_14042025_21_19_01_8086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b1b5da4ce23f9afb8cab12499e43594.jpg","text":"TemporaryFile(/tmp/multipartBody20245101424310295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723388377,"filename":"image_14042025_21_20_01_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c31439d93c6c43723b73fc49da576b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4409214838630130091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723388377,"filename":"image_14042025_21_25_01_5659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912141","file1":"1349912135","file0":"1349912128","file4":"1349912161","file5":"1349912188","file3":"1349912147"},"map_files_photo_id_array":[{"photo_id":"1349912188","filename":"file5"},{"photo_id":"1349912141","filename":"file2"},{"photo_id":"1349912161","filename":"file4"},{"photo_id":"1349912135","filename":"file1"},{"photo_id":"1349912128","filename":"file0"},{"photo_id":"1349912147","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349912147":["hashtag1","hashtag2"]},{"1349912141":["hashtag1","hashtag2"]},{"1349912135":["hashtag1","hashtag2"]},{"1349912188":["hashtag1","hashtag2"]},{"1349912161":["hashtag1","hashtag2"]},{"1349912128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349912147, 1349912141, 1349912135, 1349912188, 1349912161, 1349912128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.55017805099487 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:24:03.133890
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_01_6126.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_01_6126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_01_6126.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912447"],"photo_id":"1349912447","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b755919ccd9ec27ea3ecb020f669114c.jpg","text":"TemporaryFile(/tmp/multipartBody7363232194116699670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503883,"filename":"image_15042025_15_21_01_6126.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349912447"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349912447"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.11089825630188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:25:07.974285
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_01_9030.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_01_9030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_01_9030.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912553"],"photo_id":"1349912553","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1625d0a738afd90bd2b75a706b77bb94.jpg","text":"TemporaryFile(/tmp/multipartBody5933121410303878103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723569413,"filename":"image_15042025_15_24_01_9030.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349912553"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349912553"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.02860379219055 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:26:06.528480
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_01_5609.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_01_5609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_01_5609.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.01987361907959 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:27:03.705087
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_02_2581.jpg', 2), ('/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_01_5609.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_02_2581.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_01_5609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_02_2581.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_01_5609.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912724","1349912748"],"photo_ids_order":["1349912724","1349912748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76d9870254c48596ad8f599cd5c45040.jpg","text":"TemporaryFile(/tmp/multipartBody5654602214499842940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684870,"filename":"image_15042025_15_26_02_2581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6ccd0c0390644a79c111ae5870c1446.jpg","text":"TemporaryFile(/tmp/multipartBody2228095862308512552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684870,"filename":"image_15042025_15_25_01_5609.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349912748","file0":"1349912724"},"map_files_photo_id_array":[{"photo_id":"1349912748","filename":"file1"},{"photo_id":"1349912724","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349912724":["hashtag1","hashtag2"]},{"1349912748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349912724, 1349912748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.79552412033081 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:28:03.178812
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_02_0673.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_02_0673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_02_0673.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912830"],"photo_id":"1349912830","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7d20bd15dd76e3f13f7266f2334dfde.jpg","text":"TemporaryFile(/tmp/multipartBody8388116692951502568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723743890,"filename":"image_15042025_15_27_02_0673.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349912830"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349912830"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.046216011047363 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:29:03.002313
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_01_8080.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_01_8080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_01_8080.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912933"],"photo_id":"1349912933","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8799657f3b083eaf14975b4089a1d879.jpg","text":"TemporaryFile(/tmp/multipartBody3140043636528645658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723803755,"filename":"image_15042025_15_28_01_8080.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349912933"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349912933"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.882029056549072 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:30:03.388983
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_01_9018.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_01_9018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_01_9018.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913316"],"photo_id":"1349913316","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ab2101a4fd70921f02e102467504218.jpg","text":"TemporaryFile(/tmp/multipartBody1977560320797255939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723866597,"filename":"image_15042025_15_29_01_9018.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913316"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913316"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.980162620544434 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:31:03.497390
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_01_2794.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_01_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_01_2794.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913409"],"photo_id":"1349913409","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a59cf2abd1c52284ade543535e32ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2962076102813985119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924295,"filename":"image_15042025_15_30_01_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913409"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913409"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.648478746414185 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:32:02.677631
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_01_9762.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_01_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_01_9762.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913479"],"photo_id":"1349913479","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19d7eb6054e89bff98759727cd325fa7.jpg","text":"TemporaryFile(/tmp/multipartBody1896590123058437282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723983414,"filename":"image_15042025_15_31_01_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913479"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913479"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.443522930145264 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:33:03.343858
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/32/image_15042025_15_32_01_7927.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/32/image_15042025_15_32_01_7927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/32/image_15042025_15_32_01_7927.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913730"],"photo_id":"1349913730","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9a257781b49cb38d1e98595bc854c73.jpg","text":"TemporaryFile(/tmp/multipartBody7604745996177055875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724044127,"filename":"image_15042025_15_32_01_7927.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913730"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913730"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.231732845306396 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:34:02.792126
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/33/image_15042025_15_33_01_2992.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/33/image_15042025_15_33_01_2992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/33/image_15042025_15_33_01_2992.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913840"],"photo_id":"1349913840","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a104ffd99acc24771ab8b0188792538.jpg","text":"TemporaryFile(/tmp/multipartBody2420547516424525182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103536,"filename":"image_15042025_15_33_01_2992.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913840"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913840"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.975603342056274 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:35:03.505676
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_01_5617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_01_5617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_01_5617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913901"],"photo_id":"1349913901","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2109e47d1d1c4bd827fe5e8b7bd46579.jpg","text":"TemporaryFile(/tmp/multipartBody2736293396070079862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724164265,"filename":"image_15042025_15_34_01_5617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913901"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913901"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.191373109817505 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:36:02.796911
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_01_3970.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_01_3970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_01_3970.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913960"],"photo_id":"1349913960","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb45a75fc2127e6840e5d9733fd039ae.jpg","text":"TemporaryFile(/tmp/multipartBody2718999466318143512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223533,"filename":"image_15042025_15_35_01_3970.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349913960"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349913960"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.780702829360962 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:37:03.409259
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_01_7224.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_01_7224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_01_7224.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914018"],"photo_id":"1349914018","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d8463374ce0575f9bd9f7b3ec139db7.jpg","text":"TemporaryFile(/tmp/multipartBody5540788606947594002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724284172,"filename":"image_15042025_15_36_01_7224.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914018"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914018"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.374449253082275 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:38:02.749961
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_01_4513.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_01_4513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_01_4513.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914100"],"photo_id":"1349914100","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfeab53f28993118bf34654e66590139.jpg","text":"TemporaryFile(/tmp/multipartBody1575323980000683331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724343470,"filename":"image_15042025_15_37_01_4513.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914100"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914100"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.119470357894897 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:39:03.575020
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_01_6044.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_01_6044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_01_6044.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914167"],"photo_id":"1349914167","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f88b30ae9160300e116110ef18bb97d8.jpg","text":"TemporaryFile(/tmp/multipartBody3515069378027770712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724404325,"filename":"image_15042025_15_38_01_6044.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914167"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914167"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.07894492149353 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:40:02.875215
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_01_4301.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_01_4301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_01_4301.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914241"],"photo_id":"1349914241","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/295dff8ca536a65c62a7b333a47e8bee.jpg","text":"TemporaryFile(/tmp/multipartBody7459830442389602728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724463600,"filename":"image_15042025_15_39_01_4301.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914241"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914241"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.628534078598022 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:41:03.476511
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_01_6144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_01_6144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_01_6144.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914312"],"photo_id":"1349914312","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b2545600a42a9eecebc5eddaf55888e.jpg","text":"TemporaryFile(/tmp/multipartBody3843186149685338252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724524221,"filename":"image_15042025_15_40_01_6144.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914312"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914312"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.79115915298462 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:42:02.812976
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_01_5087.jpg', 2), ('/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_01_5074.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_01_5074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_01_5074.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914439"],"photo_id":"1349914439","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/167e71fd0d3cea0fac66c9f629ffa2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7846237505575460816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583876,"filename":"image_15042025_15_41_01_5074.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914439"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914439"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.14871120452881 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_01_5087.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:43:03.456017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/18/image_14042025_21_18_02_1559.jpg', 2), ('/home/pi/Desktop/images/14042025/21/14/image_14042025_21_14_01_7602.jpg', 2), ('/home/pi/Desktop/images/14042025/21/12/image_14042025_21_12_02_0308.jpg', 2), ('/home/pi/Desktop/images/14042025/21/08/image_14042025_21_08_01_5273.jpg', 2), ('/home/pi/Desktop/images/14042025/21/07/image_14042025_21_07_01_2664.jpg', 2), ('/home/pi/Desktop/images/14042025/21/06/image_14042025_21_06_01_6154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/18/image_14042025_21_18_02_1559.jpg', '/home/pi/Desktop/images/14042025/21/14/image_14042025_21_14_01_7602.jpg', '/home/pi/Desktop/images/14042025/21/12/image_14042025_21_12_02_0308.jpg', '/home/pi/Desktop/images/14042025/21/08/image_14042025_21_08_01_5273.jpg', '/home/pi/Desktop/images/14042025/21/07/image_14042025_21_07_01_2664.jpg', '/home/pi/Desktop/images/14042025/21/06/image_14042025_21_06_01_6154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/18/image_14042025_21_18_02_1559.jpg
/home/pi/Desktop/images/14042025/21/14/image_14042025_21_14_01_7602.jpg
/home/pi/Desktop/images/14042025/21/12/image_14042025_21_12_02_0308.jpg
/home/pi/Desktop/images/14042025/21/08/image_14042025_21_08_01_5273.jpg
/home/pi/Desktop/images/14042025/21/07/image_14042025_21_07_01_2664.jpg
/home/pi/Desktop/images/14042025/21/06/image_14042025_21_06_01_6154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914583","1349914643","1349914628","1349914616","1349914610","1349914653"],"photo_ids_order":["1349914583","1349914610","1349914616","1349914628","1349914643","1349914653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e46bc7d8d9e833444241b1ff900ac86.jpg","text":"TemporaryFile(/tmp/multipartBody2209093341640598002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724648750,"filename":"image_14042025_21_18_02_1559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a59f812d6c8378adce6ae2bf92368d70.jpg","text":"TemporaryFile(/tmp/multipartBody8960010572400510170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724648750,"filename":"image_14042025_21_07_01_2664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75baedad361da439c260d863491b4b68.jpg","text":"TemporaryFile(/tmp/multipartBody6365308729684350339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724648750,"filename":"image_14042025_21_08_01_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a0af39fd331169fdeeebf3284d870dd.jpg","text":"TemporaryFile(/tmp/multipartBody4137838548666816874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724648750,"filename":"image_14042025_21_12_02_0308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93f6e93efa3003bebd4b32a24fb63d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3700240394265144834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724648750,"filename":"image_14042025_21_14_01_7602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ad7c7ebc540ab61f6c28ae8106bb76f.jpg","text":"TemporaryFile(/tmp/multipartBody5997037840121237459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724648750,"filename":"image_14042025_21_06_01_6154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914616","file1":"1349914610","file0":"1349914583","file4":"1349914643","file5":"1349914653","file3":"1349914628"},"map_files_photo_id_array":[{"photo_id":"1349914653","filename":"file5"},{"photo_id":"1349914616","filename":"file2"},{"photo_id":"1349914643","filename":"file4"},{"photo_id":"1349914610","filename":"file1"},{"photo_id":"1349914583","filename":"file0"},{"photo_id":"1349914628","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349914583":["hashtag1","hashtag2"]},{"1349914643":["hashtag1","hashtag2"]},{"1349914628":["hashtag1","hashtag2"]},{"1349914616":["hashtag1","hashtag2"]},{"1349914610":["hashtag1","hashtag2"]},{"1349914653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349914583, 1349914643, 1349914628, 1349914616, 1349914610, 1349914653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.21369981765747 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:45:03.680725
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_01_6395.jpg', 2), ('/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_01_6579.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_01_6395.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_01_6579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_01_6395.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_01_6579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914733","1349914738"],"photo_ids_order":["1349914733","1349914738"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94a950d701b994a9fdc88ecb43a92cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4067736013139656477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724764776,"filename":"image_15042025_15_44_01_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/556d565212ea0e7036675a3c81396a97.jpg","text":"TemporaryFile(/tmp/multipartBody5907804627234203730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724764776,"filename":"image_15042025_15_42_01_6579.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349914738","file0":"1349914733"},"map_files_photo_id_array":[{"photo_id":"1349914738","filename":"file1"},{"photo_id":"1349914733","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349914733":["hashtag1","hashtag2"]},{"1349914738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349914733, 1349914738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.797032117843628 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:46:02.783369
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_01_5214.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_01_5214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_01_5214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914779"],"photo_id":"1349914779","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/228ecb507c156bb300d4995f6d82593a.jpg","text":"TemporaryFile(/tmp/multipartBody6104822954617155481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823437,"filename":"image_15042025_15_45_01_5214.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914779"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914779"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.357203960418701 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:47:03.241267
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_01_8423.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_01_8423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_01_8423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914865"],"photo_id":"1349914865","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4757b7aaa172ba331c45df1b1c13cd17.jpg","text":"TemporaryFile(/tmp/multipartBody668999146316065458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724883979,"filename":"image_15042025_15_46_01_8423.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914865"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914865"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.55409049987793 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:48:03.460673
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_01_4404.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_01_4404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_01_4404.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914945"],"photo_id":"1349914945","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48f0d8ae107b5c89a4951feacc6afad9.jpg","text":"TemporaryFile(/tmp/multipartBody8519138764648617077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724944163,"filename":"image_15042025_15_47_01_4404.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349914945"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349914945"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.451916217803955 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:49:03.189355
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_01_5401.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_01_5401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_01_5401.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915063"],"photo_id":"1349915063","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/153773b9dcd235cd3c2402066ed8040c.jpg","text":"TemporaryFile(/tmp/multipartBody7625864297055573229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725003929,"filename":"image_15042025_15_48_01_5401.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915063"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915063"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.674898862838745 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:50:03.354088
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/49/image_15042025_15_49_02_1252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/49/image_15042025_15_49_02_1252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/49/image_15042025_15_49_02_1252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915158"],"photo_id":"1349915158","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ac52855ddb78984e2201153ae03d911.jpg","text":"TemporaryFile(/tmp/multipartBody828806972049813888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725064010,"filename":"image_15042025_15_49_02_1252.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915158"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915158"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.12543535232544 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:51:04.086845
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/50/image_15042025_15_50_01_4003.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/50/image_15042025_15_50_01_4003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/50/image_15042025_15_50_01_4003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915248"],"photo_id":"1349915248","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16e58c6b28e099c3b3643b66bb305fc7.jpg","text":"TemporaryFile(/tmp/multipartBody3636932709372607258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725124823,"filename":"image_15042025_15_50_01_4003.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915248"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915248"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.897046566009521 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:52:03.230605
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_01_9902.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_01_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_01_9902.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915322"],"photo_id":"1349915322","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4b2ee6ea51b8b5d0550dee1f904eca8.jpg","text":"TemporaryFile(/tmp/multipartBody3345091094671109845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183896,"filename":"image_15042025_15_51_01_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915322"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915322"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 30.382125854492188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:53:04.024690
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_02_1969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_02_1969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_02_1969.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915510"],"photo_id":"1349915510","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ce5bd972107e13fbe2f51c8e20651a7.jpg","text":"TemporaryFile(/tmp/multipartBody2765139198197104197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725244779,"filename":"image_15042025_15_52_02_1969.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915510"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915510"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.27259111404419 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:54:03.028264
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_01_8801.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_01_8801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_01_8801.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5892274379730225 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:55:03.698114
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_02_1280.jpg', 2), ('/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_01_8801.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_02_1280.jpg', '/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_01_8801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_02_1280.jpg
/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_01_8801.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915683","1349915676"],"photo_ids_order":["1349915676","1349915683"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e12886453b3e5be9828ef031cc4b101.jpg","text":"TemporaryFile(/tmp/multipartBody3275578756798497151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725364788,"filename":"image_15042025_15_53_01_8801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4c25a229db2f8eb5eb145b1c0eb3fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7302387756620073276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725364788,"filename":"image_15042025_15_54_02_1280.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349915683","file0":"1349915676"},"map_files_photo_id_array":[{"photo_id":"1349915683","filename":"file1"},{"photo_id":"1349915676","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349915683":["hashtag1","hashtag2"]},{"1349915676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349915683, 1349915676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.53954577445984 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:56:03.242237
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_01_6705.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_01_6705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_01_6705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915719"],"photo_id":"1349915719","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e6363c8d82768ed785c52b01bc3a1df.jpg","text":"TemporaryFile(/tmp/multipartBody4006715069357141363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423885,"filename":"image_15042025_15_55_01_6705.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915719"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915719"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.94153881072998 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:57:03.989686
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/56/image_15042025_15_56_01_7797.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/56/image_15042025_15_56_01_7797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/56/image_15042025_15_56_01_7797.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915815"],"photo_id":"1349915815","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6db3eee31042d8340e86de3ac8e1e4bc.jpg","text":"TemporaryFile(/tmp/multipartBody7982626602375885608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725484728,"filename":"image_15042025_15_56_01_7797.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349915815"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349915815"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.878524780273438 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 15:59:03.608873
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_02_0762.jpg', 2), ('/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_01_8725.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_02_0762.jpg', '/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_01_8725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_02_0762.jpg
/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_01_8725.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349916853","1349916873"],"photo_ids_order":["1349916853","1349916873"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25d40d02ac696da4042d954110668758.jpg","text":"TemporaryFile(/tmp/multipartBody5947227871803522090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725604836,"filename":"image_15042025_15_58_02_0762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3e974357c1b32f402de0cc27cf073e8.jpg","text":"TemporaryFile(/tmp/multipartBody4721919522452845075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725604836,"filename":"image_15042025_15_57_01_8725.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349916873","file0":"1349916853"},"map_files_photo_id_array":[{"photo_id":"1349916873","filename":"file1"},{"photo_id":"1349916853","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349916853":["hashtag1","hashtag2"]},{"1349916873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349916853, 1349916873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.0869460105896 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:00:02.889299
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_01_8061.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_01_8061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_01_8061.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349917151"],"photo_id":"1349917151","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e12f6804d8ccca4685cf852674dc37e6.jpg","text":"TemporaryFile(/tmp/multipartBody6231813133897415941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663518,"filename":"image_15042025_15_59_01_8061.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349917151"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349917151"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.299962282180786 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:01:03.665409
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/00/image_15042025_16_00_01_8851.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/00/image_15042025_16_00_01_8851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/00/image_15042025_16_00_01_8851.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349917693"],"photo_id":"1349917693","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd14069f575f86a39e6e69336981ee80.jpg","text":"TemporaryFile(/tmp/multipartBody7076299792920638119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725724366,"filename":"image_15042025_16_00_01_8851.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349917693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349917693"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.82610774040222 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:02:02.671828
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_01_5348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_01_5348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_01_5348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918166"],"photo_id":"1349918166","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b2b654447d2f67423470ef43ec98c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4719366686541631570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783331,"filename":"image_15042025_16_01_01_5348.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349918166"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349918166"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.62178897857666 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:03:03.411932
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_01_7306.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_01_7306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_01_7306.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918442"],"photo_id":"1349918442","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4cc7ac80fa8f025a0e8470ec31c6485.jpg","text":"TemporaryFile(/tmp/multipartBody5826844094662909750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725844130,"filename":"image_15042025_16_02_01_7306.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349918442"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349918442"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.808340311050415 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:04:03.481299
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_01_2858.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_01_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_01_2858.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918646"],"photo_id":"1349918646","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd90a81328f58330b427d5e0e953a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5847550893311117106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725904197,"filename":"image_15042025_16_03_01_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349918646"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349918646"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.833093404769897 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:05:03.482795
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_01_4838.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_01_4838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_01_4838.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918805"],"photo_id":"1349918805","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/107b8368c1f3355fb54ddb8d6b8ed365.jpg","text":"TemporaryFile(/tmp/multipartBody2184379797745113945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725964211,"filename":"image_15042025_16_04_01_4838.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349918805"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349918805"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.476649284362793 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:06:02.704064
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_02_0928.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_02_0928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_02_0928.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918896"],"photo_id":"1349918896","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e44a19850c0553fb3b0e12f93e6f988.jpg","text":"TemporaryFile(/tmp/multipartBody5165605080486676397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023373,"filename":"image_15042025_16_05_02_0928.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349918896"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349918896"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.66026759147644 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:07:03.635898
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_01_7383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_01_7383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_01_7383.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918999"],"photo_id":"1349918999","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f7c2c04e84690c75bddbe4ccd762faf.jpg","text":"TemporaryFile(/tmp/multipartBody3772945217927482690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726084353,"filename":"image_15042025_16_06_01_7383.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349918999"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349918999"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.505874395370483 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:08:02.636641
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_01_4481.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_01_4481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_01_4481.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919221"],"photo_id":"1349919221","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/962826803e4b788cda568ba6ed4514ed.jpg","text":"TemporaryFile(/tmp/multipartBody8883458871407456418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726143326,"filename":"image_15042025_16_07_01_4481.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349919221"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349919221"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.013954877853394 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:09:03.348312
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_01_7617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_01_7617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_01_7617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919548"],"photo_id":"1349919548","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3f4c0554cbb055b90fc4028a0709d62.jpg","text":"TemporaryFile(/tmp/multipartBody1740162190933101438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726204096,"filename":"image_15042025_16_08_01_7617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349919548"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349919548"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.72172999382019 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:10:02.682126
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_01_3280.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_01_3280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_01_3280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919700"],"photo_id":"1349919700","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d3765fff19812a8b0efc396010aacb9.jpg","text":"TemporaryFile(/tmp/multipartBody403258563232192485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263404,"filename":"image_15042025_16_09_01_3280.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349919700"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349919700"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.502610445022583 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:11:03.481691
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_01_6680.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_01_6680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_01_6680.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920003"],"photo_id":"1349920003","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2579e92bb10ae5383461793bd966ade4.jpg","text":"TemporaryFile(/tmp/multipartBody4646382233498966430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726324236,"filename":"image_15042025_16_10_01_6680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349920003"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349920003"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.044926643371582 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:12:03.015479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/05/image_14042025_21_05_01_5281.jpg', 2), ('/home/pi/Desktop/images/14042025/21/04/image_14042025_21_04_02_0777.jpg', 2), ('/home/pi/Desktop/images/14042025/21/03/image_14042025_21_03_01_7536.jpg', 2), ('/home/pi/Desktop/images/14042025/20/59/image_14042025_20_59_02_1569.jpg', 2), ('/home/pi/Desktop/images/14042025/20/57/image_14042025_20_57_01_2680.jpg', 2), ('/home/pi/Desktop/images/14042025/20/56/image_14042025_20_56_01_6859.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/05/image_14042025_21_05_01_5281.jpg', '/home/pi/Desktop/images/14042025/21/04/image_14042025_21_04_02_0777.jpg', '/home/pi/Desktop/images/14042025/21/03/image_14042025_21_03_01_7536.jpg', '/home/pi/Desktop/images/14042025/20/59/image_14042025_20_59_02_1569.jpg', '/home/pi/Desktop/images/14042025/20/57/image_14042025_20_57_01_2680.jpg', '/home/pi/Desktop/images/14042025/20/56/image_14042025_20_56_01_6859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/05/image_14042025_21_05_01_5281.jpg
/home/pi/Desktop/images/14042025/21/04/image_14042025_21_04_02_0777.jpg
/home/pi/Desktop/images/14042025/21/03/image_14042025_21_03_01_7536.jpg
/home/pi/Desktop/images/14042025/20/59/image_14042025_20_59_02_1569.jpg
/home/pi/Desktop/images/14042025/20/57/image_14042025_20_57_01_2680.jpg
/home/pi/Desktop/images/14042025/20/56/image_14042025_20_56_01_6859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920359","1349920410","1349920248","1349920459","1349920231","1349920300"],"photo_ids_order":["1349920231","1349920248","1349920300","1349920359","1349920410","1349920459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e59bcf54dc0c3b0200ea37cb1ad327ac.jpg","text":"TemporaryFile(/tmp/multipartBody8143039611128398994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726387946,"filename":"image_14042025_20_59_02_1569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c738fd2c2cf45cf535b0412c9001680c.jpg","text":"TemporaryFile(/tmp/multipartBody2442871685544489017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726387946,"filename":"image_14042025_20_57_01_2680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86b07bf5ec32e0360bf61c5d7a2d4e68.jpg","text":"TemporaryFile(/tmp/multipartBody2964275214881537402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726387946,"filename":"image_14042025_21_04_02_0777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8af992471ecf77618fa0799a839c0d95.jpg","text":"TemporaryFile(/tmp/multipartBody7455399920914493986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726387946,"filename":"image_14042025_20_56_01_6859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e3fb2a6e3ecb4f99e57ae3faae12a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8200385678107566928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726387946,"filename":"image_14042025_21_05_01_5281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6054a54a716f60077f66b3a6a041379d.jpg","text":"TemporaryFile(/tmp/multipartBody3260080834435752433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726387946,"filename":"image_14042025_21_03_01_7536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920300","file1":"1349920248","file0":"1349920231","file4":"1349920410","file5":"1349920459","file3":"1349920359"},"map_files_photo_id_array":[{"photo_id":"1349920459","filename":"file5"},{"photo_id":"1349920300","filename":"file2"},{"photo_id":"1349920410","filename":"file4"},{"photo_id":"1349920248","filename":"file1"},{"photo_id":"1349920231","filename":"file0"},{"photo_id":"1349920359","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349920359":["hashtag1","hashtag2"]},{"1349920410":["hashtag1","hashtag2"]},{"1349920248":["hashtag1","hashtag2"]},{"1349920459":["hashtag1","hashtag2"]},{"1349920231":["hashtag1","hashtag2"]},{"1349920300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349920359, 1349920410, 1349920248, 1349920459, 1349920231, 1349920300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.78700375556946 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:14:02.666590
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_01_6582.jpg', 2), ('/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_01_3264.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_01_6582.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_01_3264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_01_6582.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_01_3264.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920690","1349920680"],"photo_ids_order":["1349920680","1349920690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89c696520ed99c9a9565892903e8c76d.jpg","text":"TemporaryFile(/tmp/multipartBody1112879336243492362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726503708,"filename":"image_15042025_16_11_01_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d7cd7233af27c4a116ef6ba00e4e1b4.jpg","text":"TemporaryFile(/tmp/multipartBody3435746368530467565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726503708,"filename":"image_15042025_16_13_01_6582.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349920690","file0":"1349920680"},"map_files_photo_id_array":[{"photo_id":"1349920690","filename":"file1"},{"photo_id":"1349920680","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349920690":["hashtag1","hashtag2"]},{"1349920680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349920690, 1349920680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.097954511642456 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:15:03.277140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_01_5744.jpg', 2), ('/home/pi/Desktop/images/14042025/20/52/image_14042025_20_52_01_3157.jpg', 2), ('/home/pi/Desktop/images/14042025/20/51/image_14042025_20_51_01_9972.jpg', 2), ('/home/pi/Desktop/images/14042025/20/49/image_14042025_20_49_01_6573.jpg', 2), ('/home/pi/Desktop/images/14042025/20/48/image_14042025_20_48_01_8018.jpg', 2), ('/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_01_6155.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_01_5744.jpg', '/home/pi/Desktop/images/14042025/20/52/image_14042025_20_52_01_3157.jpg', '/home/pi/Desktop/images/14042025/20/51/image_14042025_20_51_01_9972.jpg', '/home/pi/Desktop/images/14042025/20/49/image_14042025_20_49_01_6573.jpg', '/home/pi/Desktop/images/14042025/20/48/image_14042025_20_48_01_8018.jpg', '/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_01_6155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_01_5744.jpg
/home/pi/Desktop/images/14042025/20/52/image_14042025_20_52_01_3157.jpg
/home/pi/Desktop/images/14042025/20/51/image_14042025_20_51_01_9972.jpg
/home/pi/Desktop/images/14042025/20/49/image_14042025_20_49_01_6573.jpg
/home/pi/Desktop/images/14042025/20/48/image_14042025_20_48_01_8018.jpg
/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_01_6155.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349921180","1349920907","1349920897","1349921332","1349920852","1349920969"],"photo_ids_order":["1349920852","1349920897","1349920907","1349920969","1349921180","1349921332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4288a1cc6ca623f4b41cbb53e98fca00.jpg","text":"TemporaryFile(/tmp/multipartBody4348336768129847106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726568381,"filename":"image_14042025_20_48_01_8018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e1d86ebccad1a346db49f21ff4f9808.jpg","text":"TemporaryFile(/tmp/multipartBody8714959158519686262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726568381,"filename":"image_14042025_20_51_01_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2af24172a27783b37667b6ea54c88d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3244318676922130239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726568381,"filename":"image_14042025_20_52_01_3157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/735545bd5eb11371c10e0bb7a9ce5549.jpg","text":"TemporaryFile(/tmp/multipartBody3957895409119623590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726568381,"filename":"image_14042025_20_47_01_6155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b18905f7bd58fed0e09b196bf19b4945.jpg","text":"TemporaryFile(/tmp/multipartBody2354314097056304864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726568381,"filename":"image_14042025_20_55_01_5744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fa5bb6c8a34e67b153ed9c2747dc4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1657941578090403395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726568381,"filename":"image_14042025_20_49_01_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920907","file1":"1349920897","file0":"1349920852","file4":"1349921180","file5":"1349921332","file3":"1349920969"},"map_files_photo_id_array":[{"photo_id":"1349921332","filename":"file5"},{"photo_id":"1349920907","filename":"file2"},{"photo_id":"1349921180","filename":"file4"},{"photo_id":"1349920897","filename":"file1"},{"photo_id":"1349920852","filename":"file0"},{"photo_id":"1349920969","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349921180":["hashtag1","hashtag2"]},{"1349920907":["hashtag1","hashtag2"]},{"1349920897":["hashtag1","hashtag2"]},{"1349921332":["hashtag1","hashtag2"]},{"1349920852":["hashtag1","hashtag2"]},{"1349920969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349921180, 1349920907, 1349920897, 1349921332, 1349920852, 1349920969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.3831901550293 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:17:03.028803
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_01_5592.jpg', 2), ('/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_01_7715.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_01_5592.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_01_7715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_01_5592.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_01_7715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349921547","1349921585"],"photo_ids_order":["1349921547","1349921585"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5808af32d71525b7b42385132e2e684a.jpg","text":"TemporaryFile(/tmp/multipartBody6330782545206221962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726684225,"filename":"image_15042025_16_16_01_5592.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69a6eb591669b404822c8be05e6820f0.jpg","text":"TemporaryFile(/tmp/multipartBody5869527887780355666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726684225,"filename":"image_15042025_16_14_01_7715.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349921585","file0":"1349921547"},"map_files_photo_id_array":[{"photo_id":"1349921585","filename":"file1"},{"photo_id":"1349921547","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349921547":["hashtag1","hashtag2"]},{"1349921585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349921547, 1349921585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.079806566238403 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:18:03.421724
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_01_2486.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_01_2486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_01_2486.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6206941604614258 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:19:03.136804
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_01_2486.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_01_2486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_01_2486.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922070"],"photo_id":"1349922070","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e0724b7dac0a48f34863e98fbdebc23.jpg","text":"TemporaryFile(/tmp/multipartBody5505508873637360863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726803862,"filename":"image_15042025_16_17_01_2486.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922070"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922070"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.67997407913208 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:20:03.396826
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_01_4800.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_01_4800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_01_4800.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922455"],"photo_id":"1349922455","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5d608e202696282d78b25464b975ab2.jpg","text":"TemporaryFile(/tmp/multipartBody914266462494839046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726864103,"filename":"image_15042025_16_18_01_4800.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922455"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922455"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.147972822189331 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:21:03.904491
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_01_3534.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_01_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_01_3534.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922555"],"photo_id":"1349922555","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8763339a9795e9c6091c0f3c7d142ede.jpg","text":"TemporaryFile(/tmp/multipartBody200142029956709370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726924671,"filename":"image_15042025_16_20_01_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922555"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922555"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.233398675918579 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:22:03.362452
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_02_0295.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_02_0295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_02_0295.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922631"],"photo_id":"1349922631","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3851ff07ae77f55edca36967ff09772f.jpg","text":"TemporaryFile(/tmp/multipartBody4486222722865913014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726984075,"filename":"image_15042025_16_21_02_0295.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922631"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922631"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.786940813064575 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:23:03.823916
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_02_1581.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_02_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_02_1581.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922710"],"photo_id":"1349922710","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f47d168bf0fe8473c07a75940c61f486.jpg","text":"TemporaryFile(/tmp/multipartBody6245503443516018384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727044579,"filename":"image_15042025_16_22_02_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922710"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922710"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.790650367736816 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:24:03.316733
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_01_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_01_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_01_9645.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922763"],"photo_id":"1349922763","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d0df0e6fc61b2cb10d86c4aeaed9731.jpg","text":"TemporaryFile(/tmp/multipartBody5527601065591976481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104051,"filename":"image_15042025_16_23_01_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922763"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922763"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.337316989898682 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:25:07.618461
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_02_1845.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_02_1845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_02_1845.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922838"],"photo_id":"1349922838","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15a0e666a62c6ebf48344174df648076.jpg","text":"TemporaryFile(/tmp/multipartBody4039369085643899592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727169150,"filename":"image_15042025_16_24_02_1845.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349922838"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349922838"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.076815366744995 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:26:06.769218
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_01_7458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_01_7458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_01_7458.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8707811832427979 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:27:04.866532
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_02_3954.jpg', 2), ('/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_01_7458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_02_3954.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_01_7458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_02_3954.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_01_7458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923048","1349923040"],"photo_ids_order":["1349923040","1349923048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90456751cf1d37ea81060fdb35521e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7386850734668480003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727286494,"filename":"image_15042025_16_25_01_7458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0006617e707526130c92a2ac0e75e904.jpg","text":"TemporaryFile(/tmp/multipartBody1729574926181518944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727286494,"filename":"image_15042025_16_26_02_3954.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349923048","file0":"1349923040"},"map_files_photo_id_array":[{"photo_id":"1349923048","filename":"file1"},{"photo_id":"1349923040","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349923048":["hashtag1","hashtag2"]},{"1349923040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349923048, 1349923040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.10373616218567 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:28:03.320349
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/27/image_15042025_16_27_02_0422.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/27/image_15042025_16_27_02_0422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/27/image_15042025_16_27_02_0422.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923098"],"photo_id":"1349923098","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3f3a922952114d288b62a706f201f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1162203278348099209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727344009,"filename":"image_15042025_16_27_02_0422.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349923098"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349923098"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.738356113433838 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:29:03.942562
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/28/image_15042025_16_28_02_1858.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/28/image_15042025_16_28_02_1858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/28/image_15042025_16_28_02_1858.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923178"],"photo_id":"1349923178","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d162ef2c9f3650fa14e419aa01f26ca.jpg","text":"TemporaryFile(/tmp/multipartBody5455561746855027226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404676,"filename":"image_15042025_16_28_02_1858.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349923178"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349923178"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.668763875961304 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:30:03.044746
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_01_9409.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_01_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_01_9409.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923272"],"photo_id":"1349923272","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c509b24b94e378a02d88cae4e74e8e01.jpg","text":"TemporaryFile(/tmp/multipartBody3637530651512567958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727463729,"filename":"image_15042025_16_29_01_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349923272"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349923272"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.34789776802063 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:31:03.525101
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_02_2273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_02_2273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_02_2273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923424"],"photo_id":"1349923424","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c68c0672b8125e0c4c0c206f61c9c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6629933589815081517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524260,"filename":"image_15042025_16_30_02_2273.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349923424"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349923424"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.033634185791016 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:32:03.051191
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/33/image_15042025_16_33_01_6698.jpg', 2), ('/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_01_6390.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_01_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_01_6390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923599"],"photo_id":"1349923599","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83f59e96531c7b6f2e52bd997d41daa6.jpg","text":"TemporaryFile(/tmp/multipartBody6105590574555774256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727583935,"filename":"image_15042025_16_31_01_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349923599"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349923599"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.086566925048828 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/16/33/image_15042025_16_33_01_6698.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:33:03.651649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_02_2591.jpg', 2), ('/home/pi/Desktop/images/14042025/20/44/image_14042025_20_44_02_2631.jpg', 2), ('/home/pi/Desktop/images/14042025/20/40/image_14042025_20_40_01_1782.jpg', 2), ('/home/pi/Desktop/images/14042025/20/39/image_14042025_20_39_01_9172.jpg', 2), ('/home/pi/Desktop/images/14042025/20/38/image_14042025_20_38_02_0140.jpg', 2), ('/home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_01_7324.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_02_2591.jpg', '/home/pi/Desktop/images/14042025/20/44/image_14042025_20_44_02_2631.jpg', '/home/pi/Desktop/images/14042025/20/40/image_14042025_20_40_01_1782.jpg', '/home/pi/Desktop/images/14042025/20/39/image_14042025_20_39_01_9172.jpg', '/home/pi/Desktop/images/14042025/20/38/image_14042025_20_38_02_0140.jpg', '/home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_01_7324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_02_2591.jpg
/home/pi/Desktop/images/14042025/20/44/image_14042025_20_44_02_2631.jpg
/home/pi/Desktop/images/14042025/20/40/image_14042025_20_40_01_1782.jpg
/home/pi/Desktop/images/14042025/20/39/image_14042025_20_39_01_9172.jpg
/home/pi/Desktop/images/14042025/20/38/image_14042025_20_38_02_0140.jpg
/home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_01_7324.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924152","1349924283","1349924088","1349924273","1349924198","1349924114"],"photo_ids_order":["1349924088","1349924114","1349924152","1349924198","1349924273","1349924283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/039e1f25bf8af92f324743dc28df8f98.jpg","text":"TemporaryFile(/tmp/multipartBody5175690538043509639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727648854,"filename":"image_14042025_20_40_01_1782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37e7fa3747b6ac0635fb53c50e74d72a.jpg","text":"TemporaryFile(/tmp/multipartBody733864745703348131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727648854,"filename":"image_14042025_20_37_01_7324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4a0ed8837946235468f8d879c060681.jpg","text":"TemporaryFile(/tmp/multipartBody2670894615166230630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727648854,"filename":"image_14042025_20_46_02_2591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cde648df1f6d96a0c07fb5c98d8cbe9b.jpg","text":"TemporaryFile(/tmp/multipartBody5465309427682281501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727648854,"filename":"image_14042025_20_38_02_0140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b701ae13d23205f6e3ed150fad63d376.jpg","text":"TemporaryFile(/tmp/multipartBody2968359713034179718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727648854,"filename":"image_14042025_20_39_01_9172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dee8e6bba7ce2171d92f3c79151f5a76.jpg","text":"TemporaryFile(/tmp/multipartBody1121567105228536179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727648854,"filename":"image_14042025_20_44_02_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349924152","file1":"1349924114","file0":"1349924088","file4":"1349924273","file5":"1349924283","file3":"1349924198"},"map_files_photo_id_array":[{"photo_id":"1349924283","filename":"file5"},{"photo_id":"1349924152","filename":"file2"},{"photo_id":"1349924273","filename":"file4"},{"photo_id":"1349924114","filename":"file1"},{"photo_id":"1349924088","filename":"file0"},{"photo_id":"1349924198","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349924152":["hashtag1","hashtag2"]},{"1349924283":["hashtag1","hashtag2"]},{"1349924088":["hashtag1","hashtag2"]},{"1349924273":["hashtag1","hashtag2"]},{"1349924198":["hashtag1","hashtag2"]},{"1349924114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349924152, 1349924283, 1349924088, 1349924273, 1349924198, 1349924114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.97923541069031 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:35:03.531194
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/34/image_15042025_16_34_01_9160.jpg', 2), ('/home/pi/Desktop/images/15042025/16/32/image_15042025_16_32_01_8577.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/34/image_15042025_16_34_01_9160.jpg', '/home/pi/Desktop/images/15042025/16/32/image_15042025_16_32_01_8577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/34/image_15042025_16_34_01_9160.jpg
/home/pi/Desktop/images/15042025/16/32/image_15042025_16_32_01_8577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924536","1349924518"],"photo_ids_order":["1349924518","1349924536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb0f66d65b84b2192cabfa6f23cd8a13.jpg","text":"TemporaryFile(/tmp/multipartBody2170124378554916678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727764637,"filename":"image_15042025_16_32_01_8577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75f46e671f1f6aa087381ac02a69be39.jpg","text":"TemporaryFile(/tmp/multipartBody5205274737363753199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727764637,"filename":"image_15042025_16_34_01_9160.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349924536","file0":"1349924518"},"map_files_photo_id_array":[{"photo_id":"1349924536","filename":"file1"},{"photo_id":"1349924518","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349924536":["hashtag1","hashtag2"]},{"1349924518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349924536, 1349924518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.81935167312622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:36:02.913714
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/35/image_15042025_16_35_01_6161.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/35/image_15042025_16_35_01_6161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/35/image_15042025_16_35_01_6161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924746"],"photo_id":"1349924746","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca681d8471026bdd4f4da0e2c7b16b13.jpg","text":"TemporaryFile(/tmp/multipartBody4966643055103414346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727823603,"filename":"image_15042025_16_35_01_6161.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349924746"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349924746"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.01551365852356 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:37:03.538480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/36/image_14042025_20_36_01_8556.jpg', 2), ('/home/pi/Desktop/images/14042025/20/35/image_14042025_20_35_01_4567.jpg', 2), ('/home/pi/Desktop/images/14042025/20/34/image_14042025_20_34_01_8674.jpg', 2), ('/home/pi/Desktop/images/14042025/20/32/image_14042025_20_32_01_8696.jpg', 2), ('/home/pi/Desktop/images/14042025/20/31/image_14042025_20_31_01_6876.jpg', 2), ('/home/pi/Desktop/images/14042025/20/30/image_14042025_20_30_02_0056.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/36/image_14042025_20_36_01_8556.jpg', '/home/pi/Desktop/images/14042025/20/35/image_14042025_20_35_01_4567.jpg', '/home/pi/Desktop/images/14042025/20/34/image_14042025_20_34_01_8674.jpg', '/home/pi/Desktop/images/14042025/20/32/image_14042025_20_32_01_8696.jpg', '/home/pi/Desktop/images/14042025/20/31/image_14042025_20_31_01_6876.jpg', '/home/pi/Desktop/images/14042025/20/30/image_14042025_20_30_02_0056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/36/image_14042025_20_36_01_8556.jpg
/home/pi/Desktop/images/14042025/20/35/image_14042025_20_35_01_4567.jpg
/home/pi/Desktop/images/14042025/20/34/image_14042025_20_34_01_8674.jpg
/home/pi/Desktop/images/14042025/20/32/image_14042025_20_32_01_8696.jpg
/home/pi/Desktop/images/14042025/20/31/image_14042025_20_31_01_6876.jpg
/home/pi/Desktop/images/14042025/20/30/image_14042025_20_30_02_0056.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924947","1349924898","1349925036","1349925077","1349924904","1349925005"],"photo_ids_order":["1349924898","1349924904","1349924947","1349925005","1349925036","1349925077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b02edbb99dba8610fcba4262ceb00939.jpg","text":"TemporaryFile(/tmp/multipartBody1306499411624065232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727888731,"filename":"image_14042025_20_34_01_8674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa89ef2f3947094baa3a7abe8eac0ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3009419994390845887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727888731,"filename":"image_14042025_20_36_01_8556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9aa2773bf9706a578a6e1a69aee804a4.jpg","text":"TemporaryFile(/tmp/multipartBody1680681181375090940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727888731,"filename":"image_14042025_20_31_01_6876.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a39f2f7781af1c5a72dd4ec258cf4dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5897631877484768084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727888731,"filename":"image_14042025_20_30_02_0056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ea81b01c6ad34bfc315192d6e2020f6.jpg","text":"TemporaryFile(/tmp/multipartBody545467997005748840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727888731,"filename":"image_14042025_20_35_01_4567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7059f19c7651dbb24816ac48c938701.jpg","text":"TemporaryFile(/tmp/multipartBody8161691097467521437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727888731,"filename":"image_14042025_20_32_01_8696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349924947","file1":"1349924904","file0":"1349924898","file4":"1349925036","file5":"1349925077","file3":"1349925005"},"map_files_photo_id_array":[{"photo_id":"1349925077","filename":"file5"},{"photo_id":"1349924947","filename":"file2"},{"photo_id":"1349925036","filename":"file4"},{"photo_id":"1349924904","filename":"file1"},{"photo_id":"1349924898","filename":"file0"},{"photo_id":"1349925005","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349924947":["hashtag1","hashtag2"]},{"1349924898":["hashtag1","hashtag2"]},{"1349925036":["hashtag1","hashtag2"]},{"1349925077":["hashtag1","hashtag2"]},{"1349924904":["hashtag1","hashtag2"]},{"1349925005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349924947, 1349924898, 1349925036, 1349925077, 1349924904, 1349925005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.14748549461365 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:39:03.511395
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_01_7188.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_01_7188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_01_7188.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925205"],"photo_id":"1349925205","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d5b47ff6c0bc9f8c5cb48fb91ed82e8.jpg","text":"TemporaryFile(/tmp/multipartBody5420631543000974869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728004254,"filename":"image_15042025_16_36_01_7188.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925205"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925205"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.544639587402344 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:40:02.973896
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_01_8201.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_01_8201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_01_8201.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925294"],"photo_id":"1349925294","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0295f30676b4af1e1565ab30af0b8076.jpg","text":"TemporaryFile(/tmp/multipartBody8974741066814664455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728063656,"filename":"image_15042025_16_38_01_8201.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925294"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925294"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.371683120727539 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:41:03.635028
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_01_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_01_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_01_9586.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925404"],"photo_id":"1349925404","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/088e797868c24cc11181988f7c8f4ce5.jpg","text":"TemporaryFile(/tmp/multipartBody1834241666782987043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728124417,"filename":"image_15042025_16_40_01_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925404"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925404"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.469452619552612 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:42:03.503066
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_01_6228.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_01_6228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_01_6228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925508"],"photo_id":"1349925508","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8304cc38f17d9801f3b27e5ab4db3de.jpg","text":"TemporaryFile(/tmp/multipartBody4890131976966546493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728184306,"filename":"image_15042025_16_41_01_6228.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925508"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925508"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.823362350463867 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:43:03.189389
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_01_9394.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_01_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_01_9394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925576"],"photo_id":"1349925576","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f3169302e5da555ea034970e309e625.jpg","text":"TemporaryFile(/tmp/multipartBody8644731094081684392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728243905,"filename":"image_15042025_16_42_01_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925576"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925576"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.3524169921875 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:44:03.300404
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_02_1184.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_02_1184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_02_1184.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925671"],"photo_id":"1349925671","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc43162e89046e911c3f88ddb5eefcac.jpg","text":"TemporaryFile(/tmp/multipartBody2884654846894781274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728303990,"filename":"image_15042025_16_43_02_1184.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925671"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925671"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.182599782943726 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:45:03.886128
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_01_3694.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_01_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_01_3694.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925771"],"photo_id":"1349925771","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f8e7837419f53c90d301734a697a4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6030385718057718300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728364597,"filename":"image_15042025_16_44_01_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925771"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925771"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.726658821105957 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:46:02.959518
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_01_9267.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_01_9267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_01_9267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925825"],"photo_id":"1349925825","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f13ca709c398e9811b04874a21505655.jpg","text":"TemporaryFile(/tmp/multipartBody8719868025184186927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728423629,"filename":"image_15042025_16_45_01_9267.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925825"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925825"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.620296001434326 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:47:03.707745
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_02_1121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_02_1121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_02_1121.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925895"],"photo_id":"1349925895","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68c13e555805abf56430be8181a74b0b.jpg","text":"TemporaryFile(/tmp/multipartBody9088722416541633298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728484443,"filename":"image_15042025_16_46_02_1121.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925895"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925895"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.21190357208252 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:48:02.729526
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_01_6502.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_01_6502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_01_6502.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925950"],"photo_id":"1349925950","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8038388c9c1702eb1949220c2a8a57b2.jpg","text":"TemporaryFile(/tmp/multipartBody7222469768234176648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543426,"filename":"image_15042025_16_47_01_6502.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349925950"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349925950"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.46463680267334 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:49:03.348597
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_01_8972.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_01_8972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_01_8972.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926103"],"photo_id":"1349926103","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5b1fd9a4fcab693f544c0e3e2c37f36.jpg","text":"TemporaryFile(/tmp/multipartBody6124200307714513975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728604076,"filename":"image_15042025_16_48_01_8972.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349926103"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349926103"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.981014966964722 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:50:03.428180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/28/image_14042025_20_28_01_2466.jpg', 2), ('/home/pi/Desktop/images/14042025/20/25/image_14042025_20_25_01_6645.jpg', 2), ('/home/pi/Desktop/images/14042025/20/24/image_14042025_20_24_02_1017.jpg', 2), ('/home/pi/Desktop/images/14042025/20/23/image_14042025_20_23_01_5867.jpg', 2), ('/home/pi/Desktop/images/14042025/20/22/image_14042025_20_22_01_3577.jpg', 2), ('/home/pi/Desktop/images/14042025/20/21/image_14042025_20_21_01_3631.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/28/image_14042025_20_28_01_2466.jpg', '/home/pi/Desktop/images/14042025/20/25/image_14042025_20_25_01_6645.jpg', '/home/pi/Desktop/images/14042025/20/24/image_14042025_20_24_02_1017.jpg', '/home/pi/Desktop/images/14042025/20/23/image_14042025_20_23_01_5867.jpg', '/home/pi/Desktop/images/14042025/20/22/image_14042025_20_22_01_3577.jpg', '/home/pi/Desktop/images/14042025/20/21/image_14042025_20_21_01_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/28/image_14042025_20_28_01_2466.jpg
/home/pi/Desktop/images/14042025/20/25/image_14042025_20_25_01_6645.jpg
/home/pi/Desktop/images/14042025/20/24/image_14042025_20_24_02_1017.jpg
/home/pi/Desktop/images/14042025/20/23/image_14042025_20_23_01_5867.jpg
/home/pi/Desktop/images/14042025/20/22/image_14042025_20_22_01_3577.jpg
/home/pi/Desktop/images/14042025/20/21/image_14042025_20_21_01_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926218","1349926205","1349926195","1349926198","1349926249","1349926234"],"photo_ids_order":["1349926195","1349926198","1349926205","1349926218","1349926234","1349926249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9abd650a6e4612c3e77d4a0007be4aee.jpg","text":"TemporaryFile(/tmp/multipartBody1129351401081346430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728668341,"filename":"image_14042025_20_23_01_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61170f788c719c7bd72195466e527785.jpg","text":"TemporaryFile(/tmp/multipartBody1047653095815165742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728668341,"filename":"image_14042025_20_24_02_1017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2b2dd182098f6492e6d7fe82450f6c7.jpg","text":"TemporaryFile(/tmp/multipartBody2298579901142714866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728668341,"filename":"image_14042025_20_28_01_2466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e844a64e9dff854921ba54495b6d83e.jpg","text":"TemporaryFile(/tmp/multipartBody2850926097945426667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728668341,"filename":"image_14042025_20_25_01_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6a6819a561b19dd1f83565389ac0535.jpg","text":"TemporaryFile(/tmp/multipartBody5841190510747651132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728668341,"filename":"image_14042025_20_21_01_3631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af154794358c178abfe54da2ce134d12.jpg","text":"TemporaryFile(/tmp/multipartBody3988611890644322986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728668341,"filename":"image_14042025_20_22_01_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926205","file1":"1349926198","file0":"1349926195","file4":"1349926234","file5":"1349926249","file3":"1349926218"},"map_files_photo_id_array":[{"photo_id":"1349926249","filename":"file5"},{"photo_id":"1349926205","filename":"file2"},{"photo_id":"1349926234","filename":"file4"},{"photo_id":"1349926198","filename":"file1"},{"photo_id":"1349926195","filename":"file0"},{"photo_id":"1349926218","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349926218":["hashtag1","hashtag2"]},{"1349926205":["hashtag1","hashtag2"]},{"1349926195":["hashtag1","hashtag2"]},{"1349926198":["hashtag1","hashtag2"]},{"1349926249":["hashtag1","hashtag2"]},{"1349926234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349926218, 1349926205, 1349926195, 1349926198, 1349926249, 1349926234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.22671175003052 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:52:03.483655
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_02_0542.jpg', 2), ('/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_01_4161.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_02_0542.jpg', '/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_01_4161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_02_0542.jpg
/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_01_4161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926335","1349926327"],"photo_ids_order":["1349926327","1349926335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/958844ef82fcc40cc0eca8ecdba1de06.jpg","text":"TemporaryFile(/tmp/multipartBody1665723834393189210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728784560,"filename":"image_15042025_16_49_01_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df62dc7e9ae3e4eeb025f2c753161caa.jpg","text":"TemporaryFile(/tmp/multipartBody3246225834241708928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728784560,"filename":"image_15042025_16_51_02_0542.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349926335","file0":"1349926327"},"map_files_photo_id_array":[{"photo_id":"1349926335","filename":"file1"},{"photo_id":"1349926327","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349926335":["hashtag1","hashtag2"]},{"1349926327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349926335, 1349926327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.810744524002075 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:53:03.196071
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_01_5636.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_01_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_01_5636.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926395"],"photo_id":"1349926395","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76ce764365a9359edfcff6ee1bfa77dc.jpg","text":"TemporaryFile(/tmp/multipartBody5552983660980124540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843941,"filename":"image_15042025_16_52_01_5636.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349926395"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349926395"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.289726734161377 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:54:03.329351
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_02_1865.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_02_1865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_02_1865.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926586"],"photo_id":"1349926586","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58529db418a62acacc50d7547a18009e.jpg","text":"TemporaryFile(/tmp/multipartBody1145797653251416921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728904042,"filename":"image_15042025_16_53_02_1865.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349926586"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349926586"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.315052270889282 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:55:04.056110
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_01_4681.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_01_4681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_01_4681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926658"],"photo_id":"1349926658","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3754a46ea69dea5890aad3a9159b81f.jpg","text":"TemporaryFile(/tmp/multipartBody3229690083162161809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728964704,"filename":"image_15042025_16_54_01_4681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349926658"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349926658"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.774032831192017 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:56:03.288630
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_01_9873.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_01_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_01_9873.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926732"],"photo_id":"1349926732","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4aad1e832171abf4d7a30c5dc5ec496.jpg","text":"TemporaryFile(/tmp/multipartBody8671942988318826593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729023989,"filename":"image_15042025_16_55_01_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349926732"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349926732"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.271610975265503 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:57:03.939112
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/56/image_15042025_16_56_02_1773.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/56/image_15042025_16_56_02_1773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/56/image_15042025_16_56_02_1773.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926824"],"photo_id":"1349926824","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db0702be766c057d65477ea7cad86f85.jpg","text":"TemporaryFile(/tmp/multipartBody6669953353657440452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729084686,"filename":"image_15042025_16_56_02_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349926824"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349926824"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.087753295898438 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 16:59:03.510643
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/58/image_15042025_16_58_02_0439.jpg', 2), ('/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_01_8966.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/58/image_15042025_16_58_02_0439.jpg', '/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_01_8966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/58/image_15042025_16_58_02_0439.jpg
/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_01_8966.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349927340","1349927377"],"photo_ids_order":["1349927340","1349927377"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04d54d3f689f890fab34b37e1fdaebed.jpg","text":"TemporaryFile(/tmp/multipartBody7496181246834853457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204617,"filename":"image_15042025_16_58_02_0439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95ba7a20aac9e9121ff21c13f6aee2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6723741709920582958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204617,"filename":"image_15042025_16_57_01_8966.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349927377","file0":"1349927340"},"map_files_photo_id_array":[{"photo_id":"1349927377","filename":"file1"},{"photo_id":"1349927340","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349927340":["hashtag1","hashtag2"]},{"1349927377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349927340, 1349927377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.474623918533325 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:00:02.687774
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/16/59/image_15042025_16_59_01_6969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/59/image_15042025_16_59_01_6969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/16/59/image_15042025_16_59_01_6969.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349927759"],"photo_id":"1349927759","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76d4db59d8f29ed69380ced1647a4f24.jpg","text":"TemporaryFile(/tmp/multipartBody2564884374172306701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729263375,"filename":"image_15042025_16_59_01_6969.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349927759"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349927759"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.549904584884644 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:01:03.351891
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_01_8604.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_01_8604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_01_8604.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349928456"],"photo_id":"1349928456","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/969099fac884224a3e40c78c78f3a633.jpg","text":"TemporaryFile(/tmp/multipartBody3535426803883964957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324103,"filename":"image_15042025_17_00_01_8604.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349928456"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349928456"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.711172580718994 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:02:02.828761
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_01_3074.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_01_3074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_01_3074.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349928999"],"photo_id":"1349928999","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8eff862e2653731019898a3dc3890cca.jpg","text":"TemporaryFile(/tmp/multipartBody4388387387342149193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729383563,"filename":"image_15042025_17_01_01_3074.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349928999"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349928999"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.307592630386353 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:03:03.791665
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_01_7181.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_01_7181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_01_7181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349929568"],"photo_id":"1349929568","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a6fabe487e16d473357752f84b30e71.jpg","text":"TemporaryFile(/tmp/multipartBody1386757940950929819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729444525,"filename":"image_15042025_17_02_01_7181.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349929568"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349929568"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.77542519569397 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:04:03.471668
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_01_5269.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_01_5269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_01_5269.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349930171"],"photo_id":"1349930171","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92feeab8f33deffd1c6575c7900f9b74.jpg","text":"TemporaryFile(/tmp/multipartBody9020026682388345853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729504154,"filename":"image_15042025_17_03_01_5269.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349930171"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349930171"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.264156818389893 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:05:04.064309
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_01_8858.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_01_8858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_01_8858.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349930464"],"photo_id":"1349930464","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d177fdc0242161fbd304d6bda014f055.jpg","text":"TemporaryFile(/tmp/multipartBody5072740553138310471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729564783,"filename":"image_15042025_17_04_01_8858.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349930464"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349930464"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.73140549659729 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:06:03.219589
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/05/image_15042025_17_05_02_0271.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/05/image_15042025_17_05_02_0271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/05/image_15042025_17_05_02_0271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349930932"],"photo_id":"1349930932","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04ecf2e7eab3a74ed7d0a7a908fc9b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2424760219009407687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729623926,"filename":"image_15042025_17_05_02_0271.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349930932"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349930932"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.704007863998413 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:07:03.945363
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/06/image_15042025_17_06_02_1475.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/06/image_15042025_17_06_02_1475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/06/image_15042025_17_06_02_1475.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931256"],"photo_id":"1349931256","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b857c61002acad8a377aa351c0d9843b.jpg","text":"TemporaryFile(/tmp/multipartBody3999526912948284019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729684692,"filename":"image_15042025_17_06_02_1475.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349931256"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349931256"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.159797668457031 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:08:03.302391
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/07/image_15042025_17_07_01_8879.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/07/image_15042025_17_07_01_8879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/07/image_15042025_17_07_01_8879.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931404"],"photo_id":"1349931404","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c05180c9d043dcff2ab31d2424743d18.jpg","text":"TemporaryFile(/tmp/multipartBody4142510350696132388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729743966,"filename":"image_15042025_17_07_01_8879.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349931404"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349931404"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.926713943481445 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:09:03.827823
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_02_2229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_02_2229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_02_2229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931499"],"photo_id":"1349931499","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c11290e8c7c7a272049452b184833831.jpg","text":"TemporaryFile(/tmp/multipartBody4573995109876403181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729804553,"filename":"image_15042025_17_08_02_2229.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349931499"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349931499"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.102254629135132 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:10:02.868448
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/09/image_15042025_17_09_01_9457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/09/image_15042025_17_09_01_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/09/image_15042025_17_09_01_9457.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931679"],"photo_id":"1349931679","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3ea69b54af129d5c79448d6698aeb48.jpg","text":"TemporaryFile(/tmp/multipartBody5489268195624299840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863470,"filename":"image_15042025_17_09_01_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349931679"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349931679"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.657589673995972 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:11:03.483185
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/10/image_15042025_17_10_02_1881.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/10/image_15042025_17_10_02_1881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/10/image_15042025_17_10_02_1881.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931758"],"photo_id":"1349931758","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17da92362dd0a8eb6110e68f03d3ddf8.jpg","text":"TemporaryFile(/tmp/multipartBody2000299989391493580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729924214,"filename":"image_15042025_17_10_02_1881.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349931758"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349931758"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.460243225097656 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:12:03.287228
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/11/image_15042025_17_11_01_5756.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/11/image_15042025_17_11_01_5756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/11/image_15042025_17_11_01_5756.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349932200"],"photo_id":"1349932200","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30d7380114c42a7c586f0f16194455ef.jpg","text":"TemporaryFile(/tmp/multipartBody7472770742305297567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729983980,"filename":"image_15042025_17_11_01_5756.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349932200"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349932200"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.62758469581604 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:13:02.863870
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/12/image_15042025_17_12_01_7454.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/12/image_15042025_17_12_01_7454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/12/image_15042025_17_12_01_7454.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349932938"],"photo_id":"1349932938","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc5357a3fbc42b5b5110c4372622e599.jpg","text":"TemporaryFile(/tmp/multipartBody5852188115127655983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730043599,"filename":"image_15042025_17_12_01_7454.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349932938"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349932938"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.168460607528687 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:14:03.491270
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/13/image_15042025_17_13_01_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/13/image_15042025_17_13_01_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/13/image_15042025_17_13_01_9647.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349933658"],"photo_id":"1349933658","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aa5685fd0fae28694be8c7c0e1f6a31.jpg","text":"TemporaryFile(/tmp/multipartBody7048764181964851910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730104179,"filename":"image_15042025_17_13_01_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349933658"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349933658"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.32995343208313 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:15:03.042589
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/14/image_15042025_17_14_01_3371.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/14/image_15042025_17_14_01_3371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/14/image_15042025_17_14_01_3371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349934262"],"photo_id":"1349934262","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c6eb8e4f1972fb4cb81048530ad7327.jpg","text":"TemporaryFile(/tmp/multipartBody6955261352347571502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163800,"filename":"image_15042025_17_14_01_3371.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349934262"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349934262"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.84427809715271 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:16:03.546753
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/15/image_15042025_17_15_02_1669.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/15/image_15042025_17_15_02_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/15/image_15042025_17_15_02_1669.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349934754"],"photo_id":"1349934754","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5104211f6066ea7a160a21b0dcf74fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7823015476458799395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730224244,"filename":"image_15042025_17_15_02_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349934754"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349934754"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.708715200424194 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:17:03.147431
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/16/image_15042025_17_16_01_2863.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/16/image_15042025_17_16_01_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/16/image_15042025_17_16_01_2863.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935280"],"photo_id":"1349935280","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e002b831b1d9363f93b97302e7d3b351.jpg","text":"TemporaryFile(/tmp/multipartBody1671449089372295511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730283868,"filename":"image_15042025_17_16_01_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349935280"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349935280"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.205432415008545 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:18:03.398027
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/17/image_15042025_17_17_02_2478.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/17/image_15042025_17_17_02_2478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/17/image_15042025_17_17_02_2478.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935594"],"photo_id":"1349935594","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93200e483c54897b3258504258a07ebc.jpg","text":"TemporaryFile(/tmp/multipartBody452705815665789363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730344109,"filename":"image_15042025_17_17_02_2478.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349935594"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349935594"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.490064144134521 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:19:02.901258
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/18/image_15042025_17_18_01_5392.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/18/image_15042025_17_18_01_5392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/18/image_15042025_17_18_01_5392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935831"],"photo_id":"1349935831","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca6594c4c35bbdc56ce154782e7dfa0c.jpg","text":"TemporaryFile(/tmp/multipartBody9193723884155259450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730403677,"filename":"image_15042025_17_18_01_5392.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349935831"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349935831"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.59293007850647 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:20:03.483121
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/19/image_15042025_17_19_02_1015.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/19/image_15042025_17_19_02_1015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/19/image_15042025_17_19_02_1015.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936064"],"photo_id":"1349936064","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70366f4b4c927b95699c24ec40b55ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4090308077568353245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730464177,"filename":"image_15042025_17_19_02_1015.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936064"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936064"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.304137229919434 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:21:03.206229
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/20/image_15042025_17_20_01_3365.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/20/image_15042025_17_20_01_3365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/20/image_15042025_17_20_01_3365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936256"],"photo_id":"1349936256","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7212e6a9db18fee480b69f35b40beb2.jpg","text":"TemporaryFile(/tmp/multipartBody7083596981711911107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730523931,"filename":"image_15042025_17_20_01_3365.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936256"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936256"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.187063455581665 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:22:03.295247
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/23/image_15042025_17_23_02_0043.jpg', 2), ('/home/pi/Desktop/images/15042025/17/21/image_15042025_17_21_02_2322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/21/image_15042025_17_21_02_2322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/21/image_15042025_17_21_02_2322.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936422"],"photo_id":"1349936422","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55f1fd20ef2e92947abf3ebadf989f42.jpg","text":"TemporaryFile(/tmp/multipartBody4025836053328240126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730584379,"filename":"image_15042025_17_21_02_2322.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936422"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936422"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.647266149520874 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/17/23/image_15042025_17_23_02_0043.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:23:03.848573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_02_1622.jpg', 2), ('/home/pi/Desktop/images/14042025/20/18/image_14042025_20_18_01_8336.jpg', 2), ('/home/pi/Desktop/images/14042025/20/17/image_14042025_20_17_01_7082.jpg', 2), ('/home/pi/Desktop/images/14042025/20/16/image_14042025_20_16_01_5545.jpg', 2), ('/home/pi/Desktop/images/14042025/20/15/image_14042025_20_15_02_0922.jpg', 2), ('/home/pi/Desktop/images/14042025/20/14/image_14042025_20_14_02_0374.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_02_1622.jpg', '/home/pi/Desktop/images/14042025/20/18/image_14042025_20_18_01_8336.jpg', '/home/pi/Desktop/images/14042025/20/17/image_14042025_20_17_01_7082.jpg', '/home/pi/Desktop/images/14042025/20/16/image_14042025_20_16_01_5545.jpg', '/home/pi/Desktop/images/14042025/20/15/image_14042025_20_15_02_0922.jpg', '/home/pi/Desktop/images/14042025/20/14/image_14042025_20_14_02_0374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_02_1622.jpg
/home/pi/Desktop/images/14042025/20/18/image_14042025_20_18_01_8336.jpg
/home/pi/Desktop/images/14042025/20/17/image_14042025_20_17_01_7082.jpg
/home/pi/Desktop/images/14042025/20/16/image_14042025_20_16_01_5545.jpg
/home/pi/Desktop/images/14042025/20/15/image_14042025_20_15_02_0922.jpg
/home/pi/Desktop/images/14042025/20/14/image_14042025_20_14_02_0374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936555","1349936528","1349936578","1349936536","1349936565","1349936544"],"photo_ids_order":["1349936528","1349936536","1349936544","1349936555","1349936565","1349936578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/961db2dbeadbfce7de9237c0444f4b10.jpg","text":"TemporaryFile(/tmp/multipartBody8411863371021153241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730648880,"filename":"image_14042025_20_16_01_5545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75046dd1a12015830799bee1ba3ba712.jpg","text":"TemporaryFile(/tmp/multipartBody4574955219840317691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730648880,"filename":"image_14042025_20_20_02_1622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/046b65393fd972f0a58254e256089b0a.jpg","text":"TemporaryFile(/tmp/multipartBody68207659847812326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730648880,"filename":"image_14042025_20_14_02_0374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe7f6ea60653bd2df566a6c42d44de62.jpg","text":"TemporaryFile(/tmp/multipartBody7744978874030447610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730648880,"filename":"image_14042025_20_18_01_8336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20f5a590384a901d032887af1a4003a0.jpg","text":"TemporaryFile(/tmp/multipartBody896531091151590643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730648880,"filename":"image_14042025_20_15_02_0922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9dc4ad8f843877469bbcce91dd7030a1.jpg","text":"TemporaryFile(/tmp/multipartBody3551548083735104354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730648880,"filename":"image_14042025_20_17_01_7082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936544","file1":"1349936536","file0":"1349936528","file4":"1349936565","file5":"1349936578","file3":"1349936555"},"map_files_photo_id_array":[{"photo_id":"1349936578","filename":"file5"},{"photo_id":"1349936544","filename":"file2"},{"photo_id":"1349936565","filename":"file4"},{"photo_id":"1349936536","filename":"file1"},{"photo_id":"1349936528","filename":"file0"},{"photo_id":"1349936555","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349936555":["hashtag1","hashtag2"]},{"1349936528":["hashtag1","hashtag2"]},{"1349936578":["hashtag1","hashtag2"]},{"1349936536":["hashtag1","hashtag2"]},{"1349936565":["hashtag1","hashtag2"]},{"1349936544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349936555, 1349936528, 1349936578, 1349936536, 1349936565, 1349936544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.136667013168335 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:25:06.916834
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/24/image_15042025_17_24_02_1250.jpg', 2), ('/home/pi/Desktop/images/15042025/17/22/image_15042025_17_22_01_5062.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/24/image_15042025_17_24_02_1250.jpg', '/home/pi/Desktop/images/15042025/17/22/image_15042025_17_22_01_5062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/24/image_15042025_17_24_02_1250.jpg
/home/pi/Desktop/images/15042025/17/22/image_15042025_17_22_01_5062.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936668","1349936694"],"photo_ids_order":["1349936668","1349936694"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53bc3a1b00c05d4356fff2fbf596c57f.jpg","text":"TemporaryFile(/tmp/multipartBody5127793561662263633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730768903,"filename":"image_15042025_17_24_02_1250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59b4b65b4cad35062fd9b915cee39bec.jpg","text":"TemporaryFile(/tmp/multipartBody6648541550735344689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730768903,"filename":"image_15042025_17_22_01_5062.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349936694","file0":"1349936668"},"map_files_photo_id_array":[{"photo_id":"1349936694","filename":"file1"},{"photo_id":"1349936668","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349936668":["hashtag1","hashtag2"]},{"1349936694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349936668, 1349936694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.247724294662476 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:26:05.032180
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/25/image_15042025_17_25_02_2252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/25/image_15042025_17_25_02_2252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/25/image_15042025_17_25_02_2252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936737"],"photo_id":"1349936737","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de4cbc43bc19b61911d17846388a4a61.jpg","text":"TemporaryFile(/tmp/multipartBody6778841820935514663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825922,"filename":"image_15042025_17_25_02_2252.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936737"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936737"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.058543920516968 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:27:03.620610
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/26/image_15042025_17_26_01_7983.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/26/image_15042025_17_26_01_7983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/26/image_15042025_17_26_01_7983.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936796"],"photo_id":"1349936796","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4672eb82bdd9fc8eae24cc52a65938ed.jpg","text":"TemporaryFile(/tmp/multipartBody6217100511578528387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730884574,"filename":"image_15042025_17_26_01_7983.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936796"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936796"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.217760801315308 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:28:02.719651
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/27/image_15042025_17_27_00_3899.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/27/image_15042025_17_27_00_3899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/27/image_15042025_17_27_00_3899.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936850"],"photo_id":"1349936850","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d25277aedb54f97b4177413b92454e43.jpg","text":"TemporaryFile(/tmp/multipartBody266288724931988671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730943432,"filename":"image_15042025_17_27_00_3899.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936850"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936850"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.772753477096558 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:29:03.599128
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/28/image_15042025_17_28_01_3090.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/28/image_15042025_17_28_01_3090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/28/image_15042025_17_28_01_3090.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936905"],"photo_id":"1349936905","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eba62f5ec3b7aeb95d3b0c9d251785cf.jpg","text":"TemporaryFile(/tmp/multipartBody289284706458018360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731004344,"filename":"image_15042025_17_28_01_3090.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936905"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936905"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.005809307098389 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:30:02.622148
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/29/image_15042025_17_29_01_4752.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/29/image_15042025_17_29_01_4752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/29/image_15042025_17_29_01_4752.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936979"],"photo_id":"1349936979","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f6ac9d8ad43be9f7bfe7056da037659.jpg","text":"TemporaryFile(/tmp/multipartBody7645965712015961488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731063288,"filename":"image_15042025_17_29_01_4752.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349936979"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349936979"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.863095760345459 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:31:03.368696
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/30/image_15042025_17_30_01_7793.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/30/image_15042025_17_30_01_7793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/30/image_15042025_17_30_01_7793.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937079"],"photo_id":"1349937079","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78e49ce9790bcdcd4028404112ac033a.jpg","text":"TemporaryFile(/tmp/multipartBody6663685289168007295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731124120,"filename":"image_15042025_17_30_01_7793.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349937079"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349937079"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.78269910812378 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:32:03.472862
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/31/image_15042025_17_31_01_3077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/31/image_15042025_17_31_01_3077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/31/image_15042025_17_31_01_3077.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937149"],"photo_id":"1349937149","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96bc9bcbcc294b4c1b5b4bb4860ac068.jpg","text":"TemporaryFile(/tmp/multipartBody226043303703352117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731184140,"filename":"image_15042025_17_31_01_3077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349937149"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349937149"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.205298900604248 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:33:03.228240
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/32/image_15042025_17_32_01_5976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/32/image_15042025_17_32_01_5976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/32/image_15042025_17_32_01_5976.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937254"],"photo_id":"1349937254","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab30abebb96805bea31c5277f55b4325.jpg","text":"TemporaryFile(/tmp/multipartBody7869377795875069609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731243949,"filename":"image_15042025_17_32_01_5976.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349937254"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349937254"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.616503953933716 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:34:03.480540
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/33/image_15042025_17_33_02_1671.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/33/image_15042025_17_33_02_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/33/image_15042025_17_33_02_1671.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937322"],"photo_id":"1349937322","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87c74488c168a6f129d91f44a76f2185.jpg","text":"TemporaryFile(/tmp/multipartBody5968767838970571207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731304174,"filename":"image_15042025_17_33_02_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349937322"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349937322"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.846229791641235 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:35:03.191329
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/34/image_15042025_17_34_01_3453.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/34/image_15042025_17_34_01_3453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/34/image_15042025_17_34_01_3453.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937620"],"photo_id":"1349937620","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4a86f81ed869a0010c6ddff60649588.jpg","text":"TemporaryFile(/tmp/multipartBody6804891607964273334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731363975,"filename":"image_15042025_17_34_01_3453.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349937620"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349937620"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.533770561218262 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:36:02.655101
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/35/image_15042025_17_35_02_2351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/35/image_15042025_17_35_02_2351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/35/image_15042025_17_35_02_2351.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6158456802368164 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:37:03.174479
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/36/image_15042025_17_36_01_3778.jpg', 2), ('/home/pi/Desktop/images/15042025/17/35/image_15042025_17_35_02_2351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/36/image_15042025_17_36_01_3778.jpg', '/home/pi/Desktop/images/15042025/17/35/image_15042025_17_35_02_2351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/36/image_15042025_17_36_01_3778.jpg
/home/pi/Desktop/images/15042025/17/35/image_15042025_17_35_02_2351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937844","1349937836"],"photo_ids_order":["1349937836","1349937844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72072d3fd64645d79400a74aa218cea9.jpg","text":"TemporaryFile(/tmp/multipartBody7523375178175197918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731484298,"filename":"image_15042025_17_35_02_2351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d49bae9627d8f1bd30b529ca6ad6f747.jpg","text":"TemporaryFile(/tmp/multipartBody8715502822215180011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731484298,"filename":"image_15042025_17_36_01_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349937844","file0":"1349937836"},"map_files_photo_id_array":[{"photo_id":"1349937844","filename":"file1"},{"photo_id":"1349937836","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349937844":["hashtag1","hashtag2"]},{"1349937836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349937844, 1349937836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.109334230422974 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:38:03.503626
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_01_2903.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_01_2903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_01_2903.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938299"],"photo_id":"1349938299","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80f68b73e0f489bad1b4ed480478189f.jpg","text":"TemporaryFile(/tmp/multipartBody3280848907814919251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731544222,"filename":"image_15042025_17_37_01_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349938299"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349938299"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.365381717681885 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:39:03.204253
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_01_4731.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_01_4731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_01_4731.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938588"],"photo_id":"1349938588","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/831fcfde76a66b704960b6d87353f4d8.jpg","text":"TemporaryFile(/tmp/multipartBody923562992346724746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603967,"filename":"image_15042025_17_38_01_4731.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349938588"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349938588"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.138228416442871 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:40:03.409186
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/39/image_15042025_17_39_02_1532.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/39/image_15042025_17_39_02_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/39/image_15042025_17_39_02_1532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938890"],"photo_id":"1349938890","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beb7e883d67c97da5958ac14934dce9d.jpg","text":"TemporaryFile(/tmp/multipartBody7523621938824612708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731664133,"filename":"image_15042025_17_39_02_1532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349938890"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349938890"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.134040832519531 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:41:03.046218
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_01_4969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_01_4969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_01_4969.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349939140"],"photo_id":"1349939140","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad38cfd3265d125004f4bf44e13dff57.jpg","text":"TemporaryFile(/tmp/multipartBody5928889834930688383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731723774,"filename":"image_15042025_17_40_01_4969.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349939140"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349939140"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.664469242095947 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:42:03.055932
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_02_1412.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_02_1412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_02_1412.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349939558"],"photo_id":"1349939558","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cf6f5af59515670078466c676967f4e.jpg","text":"TemporaryFile(/tmp/multipartBody644525217227599642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731783775,"filename":"image_15042025_17_41_02_1412.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349939558"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349939558"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.33897066116333 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:43:03.711981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_01_5172.jpg', 2), ('/home/pi/Desktop/images/14042025/20/11/image_14042025_20_11_01_3373.jpg', 2), ('/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_01_4164.jpg', 2), ('/home/pi/Desktop/images/14042025/20/09/image_14042025_20_09_01_7439.jpg', 2), ('/home/pi/Desktop/images/14042025/20/08/image_14042025_20_08_01_3504.jpg', 2), ('/home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_01_5298.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_01_5172.jpg', '/home/pi/Desktop/images/14042025/20/11/image_14042025_20_11_01_3373.jpg', '/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_01_4164.jpg', '/home/pi/Desktop/images/14042025/20/09/image_14042025_20_09_01_7439.jpg', '/home/pi/Desktop/images/14042025/20/08/image_14042025_20_08_01_3504.jpg', '/home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_01_5298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_01_5172.jpg
/home/pi/Desktop/images/14042025/20/11/image_14042025_20_11_01_3373.jpg
/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_01_4164.jpg
/home/pi/Desktop/images/14042025/20/09/image_14042025_20_09_01_7439.jpg
/home/pi/Desktop/images/14042025/20/08/image_14042025_20_08_01_3504.jpg
/home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_01_5298.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940172","1349940247","1349940316","1349940363","1349940344","1349940353"],"photo_ids_order":["1349940172","1349940247","1349940316","1349940344","1349940353","1349940363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1bcc58cd5b4d28daf145d66794195b4.jpg","text":"TemporaryFile(/tmp/multipartBody7157204261003728892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731848942,"filename":"image_14042025_20_13_01_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3139eeaac5a94db3188e35232e1d444.jpg","text":"TemporaryFile(/tmp/multipartBody3353024836311362515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731848942,"filename":"image_14042025_20_11_01_3373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b059987edbb574df5837c62534e71eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4379833100174955872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731848942,"filename":"image_14042025_20_10_01_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c06a9faa7395601cba03e64d8987579.jpg","text":"TemporaryFile(/tmp/multipartBody6018653569093858290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731848942,"filename":"image_14042025_20_04_01_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fec8ed11204232f15f35f5842bec8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2581723684639721865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731848942,"filename":"image_14042025_20_09_01_7439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07095b8ba836671c908f88e723006f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3920335362484212645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731848942,"filename":"image_14042025_20_08_01_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349940316","file1":"1349940247","file0":"1349940172","file4":"1349940353","file5":"1349940363","file3":"1349940344"},"map_files_photo_id_array":[{"photo_id":"1349940363","filename":"file5"},{"photo_id":"1349940316","filename":"file2"},{"photo_id":"1349940353","filename":"file4"},{"photo_id":"1349940247","filename":"file1"},{"photo_id":"1349940172","filename":"file0"},{"photo_id":"1349940344","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349940172":["hashtag1","hashtag2"]},{"1349940247":["hashtag1","hashtag2"]},{"1349940316":["hashtag1","hashtag2"]},{"1349940363":["hashtag1","hashtag2"]},{"1349940344":["hashtag1","hashtag2"]},{"1349940353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349940172, 1349940247, 1349940316, 1349940363, 1349940344, 1349940353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.735920667648315 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:45:03.665624
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_01_9407.jpg', 2), ('/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_01_3602.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_01_9407.jpg', '/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_01_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_01_9407.jpg
/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_01_3602.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940699","1349940743"],"photo_ids_order":["1349940699","1349940743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d070d131bafa162733b5f272cefd1bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7903694047429168407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731964826,"filename":"image_15042025_17_44_01_9407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43626bd554c2f2e0b9616b50b5280c01.jpg","text":"TemporaryFile(/tmp/multipartBody1137931052520900721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731964826,"filename":"image_15042025_17_42_01_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349940743","file0":"1349940699"},"map_files_photo_id_array":[{"photo_id":"1349940743","filename":"file1"},{"photo_id":"1349940699","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349940699":["hashtag1","hashtag2"]},{"1349940743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349940699, 1349940743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 34.19857454299927 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:46:03.039327
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/45/image_15042025_17_45_01_5949.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/45/image_15042025_17_45_01_5949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/45/image_15042025_17_45_01_5949.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940856"],"photo_id":"1349940856","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68d087543ca83e72d17c788fb0960afe.jpg","text":"TemporaryFile(/tmp/multipartBody74984171475621948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732023781,"filename":"image_15042025_17_45_01_5949.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349940856"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349940856"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.061727046966553 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:47:04.040296
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_01_9103.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_01_9103.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_01_9103.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941072"],"photo_id":"1349941072","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44757016f197bd18c59eae3acc0cd549.jpg","text":"TemporaryFile(/tmp/multipartBody4560310872209882738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732084845,"filename":"image_15042025_17_46_01_9103.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349941072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349941072"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.893589496612549 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:48:02.971110
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/47/image_15042025_17_47_01_6868.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/47/image_15042025_17_47_01_6868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/47/image_15042025_17_47_01_6868.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941245"],"photo_id":"1349941245","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5180dc78d47fd12af50c230debd02ac6.jpg","text":"TemporaryFile(/tmp/multipartBody1670479157054307125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732143711,"filename":"image_15042025_17_47_01_6868.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349941245"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349941245"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.648152351379395 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:49:03.739413
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/48/image_15042025_17_48_01_9576.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/48/image_15042025_17_48_01_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/48/image_15042025_17_48_01_9576.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941403"],"photo_id":"1349941403","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43cbcbc08f62bb37118977f38ef245bf.jpg","text":"TemporaryFile(/tmp/multipartBody7108274885437899722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732204497,"filename":"image_15042025_17_48_01_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349941403"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349941403"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.448987483978271 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:50:02.863603
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_01_6484.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_01_6484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_01_6484.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941585"],"photo_id":"1349941585","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3831c4ee1bd084a0318f454c90a2408f.jpg","text":"TemporaryFile(/tmp/multipartBody4290869365592225102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732263566,"filename":"image_15042025_17_49_01_6484.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349941585"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349941585"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.88357663154602 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:51:03.466857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/03/image_14042025_20_03_01_6665.jpg', 2), ('/home/pi/Desktop/images/14042025/20/02/image_14042025_20_02_01_6408.jpg', 2), ('/home/pi/Desktop/images/14042025/20/00/image_14042025_20_00_01_5020.jpg', 2), ('/home/pi/Desktop/images/14042025/19/59/image_14042025_19_59_01_3620.jpg', 2), ('/home/pi/Desktop/images/14042025/19/58/image_14042025_19_58_01_8122.jpg', 2), ('/home/pi/Desktop/images/14042025/19/57/image_14042025_19_57_01_5011.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/03/image_14042025_20_03_01_6665.jpg', '/home/pi/Desktop/images/14042025/20/02/image_14042025_20_02_01_6408.jpg', '/home/pi/Desktop/images/14042025/20/00/image_14042025_20_00_01_5020.jpg', '/home/pi/Desktop/images/14042025/19/59/image_14042025_19_59_01_3620.jpg', '/home/pi/Desktop/images/14042025/19/58/image_14042025_19_58_01_8122.jpg', '/home/pi/Desktop/images/14042025/19/57/image_14042025_19_57_01_5011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/03/image_14042025_20_03_01_6665.jpg
/home/pi/Desktop/images/14042025/20/02/image_14042025_20_02_01_6408.jpg
/home/pi/Desktop/images/14042025/20/00/image_14042025_20_00_01_5020.jpg
/home/pi/Desktop/images/14042025/19/59/image_14042025_19_59_01_3620.jpg
/home/pi/Desktop/images/14042025/19/58/image_14042025_19_58_01_8122.jpg
/home/pi/Desktop/images/14042025/19/57/image_14042025_19_57_01_5011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941842","1349941868","1349941832","1349941769","1349941849","1349941858"],"photo_ids_order":["1349941769","1349941832","1349941842","1349941849","1349941858","1349941868"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e5df0990b8d64badb9b5e5eff8d1251.jpg","text":"TemporaryFile(/tmp/multipartBody5323533132672457911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732328545,"filename":"image_14042025_20_00_01_5020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bad5d2bb0f8da0012b36c330e61e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody2295425965709226658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732328545,"filename":"image_14042025_19_57_01_5011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bc00f6cda6cd045dc388e63e269e441.jpg","text":"TemporaryFile(/tmp/multipartBody5192992683573698962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732328545,"filename":"image_14042025_20_02_01_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/892188dd5292fb4f0b92bd5d7d84c0e1.jpg","text":"TemporaryFile(/tmp/multipartBody1902461536142924661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732328545,"filename":"image_14042025_20_03_01_6665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e310009c788bee4a9ec33c76369906b2.jpg","text":"TemporaryFile(/tmp/multipartBody8274939231711787270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732328545,"filename":"image_14042025_19_59_01_3620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/303455456e1d82ecbf2d9d9cc6966d25.jpg","text":"TemporaryFile(/tmp/multipartBody3454537496820637306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732328545,"filename":"image_14042025_19_58_01_8122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941842","file1":"1349941832","file0":"1349941769","file4":"1349941858","file5":"1349941868","file3":"1349941849"},"map_files_photo_id_array":[{"photo_id":"1349941868","filename":"file5"},{"photo_id":"1349941842","filename":"file2"},{"photo_id":"1349941858","filename":"file4"},{"photo_id":"1349941832","filename":"file1"},{"photo_id":"1349941769","filename":"file0"},{"photo_id":"1349941849","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349941842":["hashtag1","hashtag2"]},{"1349941868":["hashtag1","hashtag2"]},{"1349941832":["hashtag1","hashtag2"]},{"1349941769":["hashtag1","hashtag2"]},{"1349941849":["hashtag1","hashtag2"]},{"1349941858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349941842, 1349941868, 1349941832, 1349941769, 1349941849, 1349941858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.40021586418152 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:53:03.504286
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/52/image_15042025_17_52_01_6672.jpg', 2), ('/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_01_8760.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/52/image_15042025_17_52_01_6672.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_01_8760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/52/image_15042025_17_52_01_6672.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_01_8760.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942103","1349942091"],"photo_ids_order":["1349942091","1349942103"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8da7fa5ce3d9834a66f90d684b96c2c4.jpg","text":"TemporaryFile(/tmp/multipartBody8078651514235155148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732444664,"filename":"image_15042025_17_50_01_8760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/924d2f686e48067e661b51df8150ac5c.jpg","text":"TemporaryFile(/tmp/multipartBody4538708965666041552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732444664,"filename":"image_15042025_17_52_01_6672.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349942103","file0":"1349942091"},"map_files_photo_id_array":[{"photo_id":"1349942103","filename":"file1"},{"photo_id":"1349942091","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349942103":["hashtag1","hashtag2"]},{"1349942091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349942103, 1349942091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.663463354110718 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:54:02.550808
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/53/image_15042025_17_53_01_4915.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/53/image_15042025_17_53_01_4915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/53/image_15042025_17_53_01_4915.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942150"],"photo_id":"1349942150","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4125e73a9133da0442baee367e2ab27f.jpg","text":"TemporaryFile(/tmp/multipartBody1178106095157113336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732503243,"filename":"image_15042025_17_53_01_4915.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349942150"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349942150"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.307958126068115 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:55:03.096135
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_01_5957.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_01_5957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_01_5957.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942210"],"photo_id":"1349942210","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ffdc8fe58cec111757b3ac133b86f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4005833235428983753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732563784,"filename":"image_15042025_17_54_01_5957.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349942210"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349942210"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.530878067016602 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:56:02.546486
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/55/image_15042025_17_55_01_1803.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/55/image_15042025_17_55_01_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/55/image_15042025_17_55_01_1803.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942252"],"photo_id":"1349942252","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f8e46d53120ae6c2a3ef2f3c2cfce41.jpg","text":"TemporaryFile(/tmp/multipartBody470299029781941383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732623241,"filename":"image_15042025_17_55_01_1803.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349942252"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349942252"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.09220838546753 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:57:03.276916
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/56/image_15042025_17_56_01_4732.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/56/image_15042025_17_56_01_4732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/56/image_15042025_17_56_01_4732.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.596428632736206 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 17:59:03.639315
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/58/image_15042025_17_58_01_4373.jpg', 2), ('/home/pi/Desktop/images/15042025/17/57/image_15042025_17_57_01_2775.jpg', 2), ('/home/pi/Desktop/images/15042025/17/56/image_15042025_17_56_01_4732.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/58/image_15042025_17_58_01_4373.jpg', '/home/pi/Desktop/images/15042025/17/57/image_15042025_17_57_01_2775.jpg', '/home/pi/Desktop/images/15042025/17/56/image_15042025_17_56_01_4732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/58/image_15042025_17_58_01_4373.jpg
/home/pi/Desktop/images/15042025/17/57/image_15042025_17_57_01_2775.jpg
/home/pi/Desktop/images/15042025/17/56/image_15042025_17_56_01_4732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942957","1349942893","1349942988"],"photo_ids_order":["1349942893","1349942957","1349942988"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecff753382173349a782e40232334b51.jpg","text":"TemporaryFile(/tmp/multipartBody3027875613114214542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732805126,"filename":"image_15042025_17_57_01_2775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa1073381136dbd900574d4e2538cd8a.jpg","text":"TemporaryFile(/tmp/multipartBody5915963145220527242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732805126,"filename":"image_15042025_17_58_01_4373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32eb115a521e3f5388e3eb54afff0554.jpg","text":"TemporaryFile(/tmp/multipartBody4404599126478666254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732805126,"filename":"image_15042025_17_56_01_4732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942988","file1":"1349942957","file0":"1349942893"},"map_files_photo_id_array":[{"photo_id":"1349942988","filename":"file2"},{"photo_id":"1349942957","filename":"file1"},{"photo_id":"1349942893","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349942957":["hashtag1","hashtag2"]},{"1349942893":["hashtag1","hashtag2"]},{"1349942988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349942957, 1349942893, 1349942988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.85096192359924 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:00:02.805533
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/17/59/image_15042025_17_59_01_9273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/59/image_15042025_17_59_01_9273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/17/59/image_15042025_17_59_01_9273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349943068"],"photo_id":"1349943068","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47b269bab7475b078b556d826090b938.jpg","text":"TemporaryFile(/tmp/multipartBody7573028978781332398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732863408,"filename":"image_15042025_17_59_01_9273.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349943068"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349943068"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.324235439300537 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:01:03.402620
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/00/image_15042025_18_00_01_9239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/00/image_15042025_18_00_01_9239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/00/image_15042025_18_00_01_9239.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349943594"],"photo_id":"1349943594","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae0352c4b2a31c685bf1b3cbcf386fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8900636432598829601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732924289,"filename":"image_15042025_18_00_01_9239.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349943594"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349943594"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.94780921936035 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:02:02.859028
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_01_4642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_01_4642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_01_4642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944121"],"photo_id":"1349944121","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed776ee6f82e170bc7cf1cbeaf30956f.jpg","text":"TemporaryFile(/tmp/multipartBody5253368396526858208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983577,"filename":"image_15042025_18_01_01_4642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349944121"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349944121"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.55924367904663 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:03:03.364849
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_01_6294.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_01_6294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_01_6294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944593"],"photo_id":"1349944593","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4b59482157415354622cd329aa67e26.jpg","text":"TemporaryFile(/tmp/multipartBody9212294832387989558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733044347,"filename":"image_15042025_18_02_01_6294.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349944593"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349944593"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.702295064926147 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:04:02.785547
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_01_4769.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_01_4769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_01_4769.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944999"],"photo_id":"1349944999","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97f9d37963f7df3f2ab026ee05425c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1879314859935092388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733103488,"filename":"image_15042025_18_03_01_4769.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349944999"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349944999"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.695749521255493 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:05:03.361123
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_01_7363.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_01_7363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_01_7363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945213"],"photo_id":"1349945213","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/040880034f63430492b7ae8c12119100.jpg","text":"TemporaryFile(/tmp/multipartBody2104633384601678203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733164080,"filename":"image_15042025_18_04_01_7363.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349945213"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349945213"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.227312088012695 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:06:03.471190
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_01_3869.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_01_3869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_01_3869.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945468"],"photo_id":"1349945468","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed9f244b330ea79b1ba98aa01bf23593.jpg","text":"TemporaryFile(/tmp/multipartBody3187909373237296567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733224164,"filename":"image_15042025_18_05_01_3869.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349945468"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349945468"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.766795635223389 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:07:03.113872
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_01_5917.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_01_5917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_01_5917.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945541"],"photo_id":"1349945541","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18a8e9b44f594a468f849befeb2fa7cf.jpg","text":"TemporaryFile(/tmp/multipartBody2082913844155039598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733283855,"filename":"image_15042025_18_06_01_5917.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349945541"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349945541"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.438966512680054 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:08:03.421857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/52/image_14042025_19_52_01_3320.jpg', 2), ('/home/pi/Desktop/images/14042025/19/49/image_14042025_19_49_01_3565.jpg', 2), ('/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_01_2722.jpg', 2), ('/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_01_9830.jpg', 2), ('/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_01_3084.jpg', 2), ('/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_01_5439.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/52/image_14042025_19_52_01_3320.jpg', '/home/pi/Desktop/images/14042025/19/49/image_14042025_19_49_01_3565.jpg', '/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_01_2722.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_01_9830.jpg', '/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_01_3084.jpg', '/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_01_5439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/52/image_14042025_19_52_01_3320.jpg
/home/pi/Desktop/images/14042025/19/49/image_14042025_19_49_01_3565.jpg
/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_01_2722.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_01_9830.jpg
/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_01_3084.jpg
/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_01_5439.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945702","1349945692","1349945713","1349945673","1349945726","1349945683"],"photo_ids_order":["1349945673","1349945683","1349945692","1349945702","1349945713","1349945726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23460a6f40666f0996dee33bb8ce1344.jpg","text":"TemporaryFile(/tmp/multipartBody7463476517087661674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733348405,"filename":"image_14042025_19_45_01_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bc3214ba7425dde93eff68c48e0667f.jpg","text":"TemporaryFile(/tmp/multipartBody2261334955380238489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733348405,"filename":"image_14042025_19_48_01_2722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a504a85b1e44cdd9e5477730cffd9f0.jpg","text":"TemporaryFile(/tmp/multipartBody3202062378079274204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733348405,"filename":"image_14042025_19_43_01_3084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72c8b6b4c7cf9ff51a37971ecd8cf38b.jpg","text":"TemporaryFile(/tmp/multipartBody495511762998934306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733348405,"filename":"image_14042025_19_52_01_3320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daf1192dcd008ce3610479331c1acb4a.jpg","text":"TemporaryFile(/tmp/multipartBody8819997874024727614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733348405,"filename":"image_14042025_19_41_01_5439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2abff897b2da9b76235e9c3e1983c90.jpg","text":"TemporaryFile(/tmp/multipartBody8833693521897441745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733348405,"filename":"image_14042025_19_49_01_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945692","file1":"1349945683","file0":"1349945673","file4":"1349945713","file5":"1349945726","file3":"1349945702"},"map_files_photo_id_array":[{"photo_id":"1349945726","filename":"file5"},{"photo_id":"1349945692","filename":"file2"},{"photo_id":"1349945713","filename":"file4"},{"photo_id":"1349945683","filename":"file1"},{"photo_id":"1349945673","filename":"file0"},{"photo_id":"1349945702","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349945702":["hashtag1","hashtag2"]},{"1349945692":["hashtag1","hashtag2"]},{"1349945713":["hashtag1","hashtag2"]},{"1349945673":["hashtag1","hashtag2"]},{"1349945726":["hashtag1","hashtag2"]},{"1349945683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349945702, 1349945692, 1349945713, 1349945673, 1349945726, 1349945683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.806721687316895 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:10:03.476872
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/07/image_15042025_18_07_02_1168.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/07/image_15042025_18_07_02_1168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/07/image_15042025_18_07_02_1168.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945837"],"photo_id":"1349945837","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaf3514cd1dbb8b50e4f08a31775492d.jpg","text":"TemporaryFile(/tmp/multipartBody3769410432734652767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733464182,"filename":"image_15042025_18_07_02_1168.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349945837"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349945837"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.804349660873413 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:11:03.281696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.jpg', 2), ('/home/pi/Desktop/images/14042025/19/39/image_14042025_19_39_01_8372.jpg', 2), ('/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_01_3025.jpg', 2), ('/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_01_8488.jpg', 2), ('/home/pi/Desktop/images/14042025/19/31/image_14042025_19_31_01_9147.jpg', 2), ('/home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_02_2455.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.jpg', '/home/pi/Desktop/images/14042025/19/39/image_14042025_19_39_01_8372.jpg', '/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_01_3025.jpg', '/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_01_8488.jpg', '/home/pi/Desktop/images/14042025/19/31/image_14042025_19_31_01_9147.jpg', '/home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_02_2455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.jpg
/home/pi/Desktop/images/14042025/19/39/image_14042025_19_39_01_8372.jpg
/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_01_3025.jpg
/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_01_8488.jpg
/home/pi/Desktop/images/14042025/19/31/image_14042025_19_31_01_9147.jpg
/home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_02_2455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945971","1349945961","1349945910","1349945951","1349945921","1349945945"],"photo_ids_order":["1349945910","1349945921","1349945945","1349945951","1349945961","1349945971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed2d9f6bca2918f3d131670436142c4b.jpg","text":"TemporaryFile(/tmp/multipartBody9171992463339878960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733528402,"filename":"image_14042025_19_30_02_2455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c335d922c5f2346156f771837eb2b774.jpg","text":"TemporaryFile(/tmp/multipartBody8913943385420410242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733528402,"filename":"image_14042025_19_31_01_9147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2c513ab970faaae6f7f560265117d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8986113635760516092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733528402,"filename":"image_14042025_19_40_02_1231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aca93174c102191b1a61d445c57a901d.jpg","text":"TemporaryFile(/tmp/multipartBody7536601088851549271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733528402,"filename":"image_14042025_19_34_01_8488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bce30aa0c13ee1cf42ebaee6b669b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody851804479731096995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733528402,"filename":"image_14042025_19_39_01_8372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d01554355517ac95acdca747156bb1f.jpg","text":"TemporaryFile(/tmp/multipartBody8653341244656048178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733528402,"filename":"image_14042025_19_37_01_3025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945945","file1":"1349945921","file0":"1349945910","file4":"1349945961","file5":"1349945971","file3":"1349945951"},"map_files_photo_id_array":[{"photo_id":"1349945971","filename":"file5"},{"photo_id":"1349945945","filename":"file2"},{"photo_id":"1349945961","filename":"file4"},{"photo_id":"1349945921","filename":"file1"},{"photo_id":"1349945910","filename":"file0"},{"photo_id":"1349945951","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349945971":["hashtag1","hashtag2"]},{"1349945961":["hashtag1","hashtag2"]},{"1349945910":["hashtag1","hashtag2"]},{"1349945951":["hashtag1","hashtag2"]},{"1349945921":["hashtag1","hashtag2"]},{"1349945945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349945971, 1349945961, 1349945910, 1349945951, 1349945921, 1349945945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.29239988327026 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:13:03.615758
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/13/image_15042025_18_13_01_5753.jpg', 2), ('/home/pi/Desktop/images/15042025/18/09/image_15042025_18_09_02_1186.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/13/image_15042025_18_13_01_5753.jpg', '/home/pi/Desktop/images/15042025/18/09/image_15042025_18_09_02_1186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/13/image_15042025_18_13_01_5753.jpg
/home/pi/Desktop/images/15042025/18/09/image_15042025_18_09_02_1186.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946068","1349946076"],"photo_ids_order":["1349946068","1349946076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b00cbe09feced07aacf703e9e5b8e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5142457504348399215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733645613,"filename":"image_15042025_18_13_01_5753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9118a5792bd4cddb01534f250b425d74.jpg","text":"TemporaryFile(/tmp/multipartBody4469705427051232484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733645613,"filename":"image_15042025_18_09_02_1186.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349946076","file0":"1349946068"},"map_files_photo_id_array":[{"photo_id":"1349946076","filename":"file1"},{"photo_id":"1349946068","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349946068":["hashtag1","hashtag2"]},{"1349946076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349946068, 1349946076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.43362069129944 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:14:02.699695
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/12/image_15042025_18_12_01_5107.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/12/image_15042025_18_12_01_5107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/12/image_15042025_18_12_01_5107.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946183"],"photo_id":"1349946183","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99f81664f8470eee4da460a5effd5254.jpg","text":"TemporaryFile(/tmp/multipartBody4893994888107547795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733703404,"filename":"image_15042025_18_12_01_5107.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349946183"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349946183"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.368489503860474 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:15:03.140850
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/14/image_15042025_18_14_01_8773.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/14/image_15042025_18_14_01_8773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/14/image_15042025_18_14_01_8773.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946278"],"photo_id":"1349946278","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/735f9f9c367816fe70303779958548f7.jpg","text":"TemporaryFile(/tmp/multipartBody5215691762390419587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733763851,"filename":"image_15042025_18_14_01_8773.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349946278"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349946278"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.876866579055786 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:16:03.203772
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/15/image_15042025_18_15_01_3847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/15/image_15042025_18_15_01_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/15/image_15042025_18_15_01_3847.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946604"],"photo_id":"1349946604","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e518312e5c0f5e22141966d6cc3b012d.jpg","text":"TemporaryFile(/tmp/multipartBody6618069050148028090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733823880,"filename":"image_15042025_18_15_01_3847.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349946604"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349946604"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.305025815963745 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:17:03.797517
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/16/image_15042025_18_16_01_5382.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/16/image_15042025_18_16_01_5382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/16/image_15042025_18_16_01_5382.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947078"],"photo_id":"1349947078","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ab9bd6cc46f88e85a996f9bf80125a6.jpg","text":"TemporaryFile(/tmp/multipartBody2584661722956151833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733884521,"filename":"image_15042025_18_16_01_5382.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349947078"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349947078"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.638323783874512 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:18:03.202229
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/17/image_15042025_18_17_01_8432.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/17/image_15042025_18_17_01_8432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/17/image_15042025_18_17_01_8432.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947596"],"photo_id":"1349947596","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8137915a46a40e724d3a0a940704475e.jpg","text":"TemporaryFile(/tmp/multipartBody5178320025406266098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733943903,"filename":"image_15042025_18_17_01_8432.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349947596"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349947596"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.033356666564941 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:19:03.860628
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/18/image_15042025_18_18_02_2425.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/18/image_15042025_18_18_02_2425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/18/image_15042025_18_18_02_2425.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947912"],"photo_id":"1349947912","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3790ee78abd854e79edb8ce3b280fa87.jpg","text":"TemporaryFile(/tmp/multipartBody5812087180322195063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734004646,"filename":"image_15042025_18_18_02_2425.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349947912"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349947912"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.324581384658813 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:20:03.105288
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/19/image_15042025_18_19_01_8516.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/19/image_15042025_18_19_01_8516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/19/image_15042025_18_19_01_8516.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948273"],"photo_id":"1349948273","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17e1323651039e9c8298f56af819dfdc.jpg","text":"TemporaryFile(/tmp/multipartBody2185413005788683226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734063833,"filename":"image_15042025_18_19_01_8516.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349948273"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349948273"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.868765592575073 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:21:03.791468
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/20/image_15042025_18_20_02_0425.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/20/image_15042025_18_20_02_0425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/20/image_15042025_18_20_02_0425.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948406"],"photo_id":"1349948406","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41b6adf8876c76d4b1c7b3510d7af3b6.jpg","text":"TemporaryFile(/tmp/multipartBody4427673573104792640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734124585,"filename":"image_15042025_18_20_02_0425.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349948406"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349948406"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.090254545211792 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:22:03.137071
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/21/image_15042025_18_21_01_7218.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/21/image_15042025_18_21_01_7218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/21/image_15042025_18_21_01_7218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948479"],"photo_id":"1349948479","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd50da7f30a334a77790809d3ea540b3.jpg","text":"TemporaryFile(/tmp/multipartBody8184229093149754673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734183865,"filename":"image_15042025_18_21_01_7218.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349948479"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349948479"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.964927434921265 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:23:03.782009
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/22/image_15042025_18_22_02_0431.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/22/image_15042025_18_22_02_0431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/22/image_15042025_18_22_02_0431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948551"],"photo_id":"1349948551","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2517a8710cba1bbd7700157e42700e0c.jpg","text":"TemporaryFile(/tmp/multipartBody9122849292160686051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734244575,"filename":"image_15042025_18_22_02_0431.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349948551"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349948551"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.49933409690857 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:24:03.355026
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/23/image_15042025_18_23_01_7303.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/23/image_15042025_18_23_01_7303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/23/image_15042025_18_23_01_7303.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948617"],"photo_id":"1349948617","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c1dbc9c8529843b2eb8359b3390b272.jpg","text":"TemporaryFile(/tmp/multipartBody4386277455289724462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734304079,"filename":"image_15042025_18_23_01_7303.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349948617"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349948617"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.582169771194458 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:25:09.254733
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/24/image_15042025_18_24_01_9525.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/24/image_15042025_18_24_01_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/24/image_15042025_18_24_01_9525.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948832"],"photo_id":"1349948832","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac9c5767547bb89098c7a1c3e56b2f11.jpg","text":"TemporaryFile(/tmp/multipartBody2753199137648410224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734370905,"filename":"image_15042025_18_24_01_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349948832"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349948832"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.671956777572632 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:26:06.759292
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/25/image_15042025_18_25_01_8517.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/25/image_15042025_18_25_01_8517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/25/image_15042025_18_25_01_8517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949008"],"photo_id":"1349949008","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f74341d434df9fa777cb7387c6537b0.jpg","text":"TemporaryFile(/tmp/multipartBody8961711560103612680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734428989,"filename":"image_15042025_18_25_01_8517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949008"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949008"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.329774618148804 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:27:04.810663
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/26/image_15042025_18_26_02_1532.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/26/image_15042025_18_26_02_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/26/image_15042025_18_26_02_1532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949115"],"photo_id":"1349949115","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5a6ef4381fd0ec52d28f17e60f450cd.jpg","text":"TemporaryFile(/tmp/multipartBody8163913341854539749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734486018,"filename":"image_15042025_18_26_02_1532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949115"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949115"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.568000316619873 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:28:03.013600
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/27/image_15042025_18_27_02_2285.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/27/image_15042025_18_27_02_2285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/27/image_15042025_18_27_02_2285.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949182"],"photo_id":"1349949182","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60128c575de2b94fc43101199c5f6133.jpg","text":"TemporaryFile(/tmp/multipartBody5497233276757293027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734543722,"filename":"image_15042025_18_27_02_2285.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949182"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949182"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.745673894882202 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:29:03.627894
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/28/image_15042025_18_28_02_2614.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/28/image_15042025_18_28_02_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/28/image_15042025_18_28_02_2614.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949264"],"photo_id":"1349949264","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7650493596b697fea5cf8e150dce231.jpg","text":"TemporaryFile(/tmp/multipartBody1976610930471985070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734604388,"filename":"image_15042025_18_28_02_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949264"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949264"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.515117168426514 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:30:02.936124
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/29/image_15042025_18_29_01_7094.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/29/image_15042025_18_29_01_7094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/29/image_15042025_18_29_01_7094.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949441"],"photo_id":"1349949441","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/924e10ab3b854e3900f6549de16dc3d5.jpg","text":"TemporaryFile(/tmp/multipartBody1760275172279445513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734663620,"filename":"image_15042025_18_29_01_7094.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949441"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949441"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.274637699127197 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:31:03.635821
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/30/image_15042025_18_30_01_9239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/30/image_15042025_18_30_01_9239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/30/image_15042025_18_30_01_9239.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949696"],"photo_id":"1349949696","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b998b616a05505e652ddb12ef7c9187.jpg","text":"TemporaryFile(/tmp/multipartBody9216158386018920019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734724383,"filename":"image_15042025_18_30_01_9239.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949696"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949696"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.60827922821045 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:32:03.207742
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/31/image_15042025_18_31_01_5732.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/31/image_15042025_18_31_01_5732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/31/image_15042025_18_31_01_5732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949789"],"photo_id":"1349949789","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bb1318a178a90baa0c94c06dc670407.jpg","text":"TemporaryFile(/tmp/multipartBody1940240668683983116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734783928,"filename":"image_15042025_18_31_01_5732.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949789"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949789"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.793134212493896 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:33:04.202326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_01_4845.jpg', 2), ('/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_02_1482.jpg', 2), ('/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_02_1325.jpg', 2), ('/home/pi/Desktop/images/14042025/19/17/image_14042025_19_17_01_9824.jpg', 2), ('/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_01_4021.jpg', 2), ('/home/pi/Desktop/images/14042025/19/15/image_14042025_19_15_01_6013.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_01_4845.jpg', '/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_02_1482.jpg', '/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_02_1325.jpg', '/home/pi/Desktop/images/14042025/19/17/image_14042025_19_17_01_9824.jpg', '/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_01_4021.jpg', '/home/pi/Desktop/images/14042025/19/15/image_14042025_19_15_01_6013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_01_4845.jpg
/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_02_1482.jpg
/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_02_1325.jpg
/home/pi/Desktop/images/14042025/19/17/image_14042025_19_17_01_9824.jpg
/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_01_4021.jpg
/home/pi/Desktop/images/14042025/19/15/image_14042025_19_15_01_6013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349950413","1349950292","1349950396","1349950328","1349950360","1349950338"],"photo_ids_order":["1349950292","1349950328","1349950338","1349950360","1349950396","1349950413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cfaf89c2210f7a4acd8ccde30c28910.jpg","text":"TemporaryFile(/tmp/multipartBody5568511604798861634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734849298,"filename":"image_14042025_19_15_01_6013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a640f57cb7207219d30c834f1718a822.jpg","text":"TemporaryFile(/tmp/multipartBody3508674863138798555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734849298,"filename":"image_14042025_19_23_01_4845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/915befb95d8afc51f779340d940fd313.jpg","text":"TemporaryFile(/tmp/multipartBody8862147856529856707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734849298,"filename":"image_14042025_19_16_01_4021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/040d2a06a52c8ff58cb1ea13edfd4cf4.jpg","text":"TemporaryFile(/tmp/multipartBody311912452975767006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734849298,"filename":"image_14042025_19_20_02_1482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0165f37a2f274d4d9f2241e8f7d7d70a.jpg","text":"TemporaryFile(/tmp/multipartBody3816026706018849398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734849298,"filename":"image_14042025_19_17_01_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5076ecce95ffe472cde674dd2178ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5974287619947958615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734849298,"filename":"image_14042025_19_18_02_1325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349950338","file1":"1349950328","file0":"1349950292","file4":"1349950396","file5":"1349950413","file3":"1349950360"},"map_files_photo_id_array":[{"photo_id":"1349950413","filename":"file5"},{"photo_id":"1349950338","filename":"file2"},{"photo_id":"1349950396","filename":"file4"},{"photo_id":"1349950328","filename":"file1"},{"photo_id":"1349950292","filename":"file0"},{"photo_id":"1349950360","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349950413":["hashtag1","hashtag2"]},{"1349950292":["hashtag1","hashtag2"]},{"1349950396":["hashtag1","hashtag2"]},{"1349950328":["hashtag1","hashtag2"]},{"1349950360":["hashtag1","hashtag2"]},{"1349950338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349950413, 1349950292, 1349950396, 1349950328, 1349950360, 1349950338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.068514585495 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:35:03.168080
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/32/image_15042025_18_32_01_7763.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/32/image_15042025_18_32_01_7763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/32/image_15042025_18_32_01_7763.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349950840"],"photo_id":"1349950840","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89965dc2a2c367ba8ae0ab825b16f28f.jpg","text":"TemporaryFile(/tmp/multipartBody8705430280956506623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734963949,"filename":"image_15042025_18_32_01_7763.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349950840"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349950840"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.696249961853027 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:36:03.481148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.jpg', 2), ('/home/pi/Desktop/images/14042025/19/10/image_14042025_19_10_01_5297.jpg', 2), ('/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_01_9828.jpg', 2), ('/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_01_6220.jpg', 2), ('/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_01_9124.jpg', 2), ('/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_01_6480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.jpg', '/home/pi/Desktop/images/14042025/19/10/image_14042025_19_10_01_5297.jpg', '/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_01_9828.jpg', '/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_01_6220.jpg', '/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_01_9124.jpg', '/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_01_6480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.jpg
/home/pi/Desktop/images/14042025/19/10/image_14042025_19_10_01_5297.jpg
/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_01_9828.jpg
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_01_6220.jpg
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_01_9124.jpg
/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_01_6480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951072","1349951176","1349951086","1349951059","1349951122","1349951079"],"photo_ids_order":["1349951059","1349951072","1349951079","1349951086","1349951122","1349951176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93a20792fbd97f6e36e9377e13af3a02.jpg","text":"TemporaryFile(/tmp/multipartBody4111064530677883632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735028432,"filename":"image_14042025_19_10_01_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4d4486738ffb397c18a4e640b94911c.jpg","text":"TemporaryFile(/tmp/multipartBody7689067220672717814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735028432,"filename":"image_14042025_19_03_01_6480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2ba8252d5c42ba5064b967a1ac06fde.jpg","text":"TemporaryFile(/tmp/multipartBody5624142748523795725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735028432,"filename":"image_14042025_19_06_01_6220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8502d43bd46a74dd16d78d4981da1e6.jpg","text":"TemporaryFile(/tmp/multipartBody8927244298859718866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735028432,"filename":"image_14042025_19_11_02_0074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fa54ea0cdff155c1c41fe86a738658e.jpg","text":"TemporaryFile(/tmp/multipartBody5731227586967421378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735028432,"filename":"image_14042025_19_04_01_9124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9719a7d038ed98633f80150670d05f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8587508922068893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735028432,"filename":"image_14042025_19_09_01_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951079","file1":"1349951072","file0":"1349951059","file4":"1349951122","file5":"1349951176","file3":"1349951086"},"map_files_photo_id_array":[{"photo_id":"1349951176","filename":"file5"},{"photo_id":"1349951079","filename":"file2"},{"photo_id":"1349951122","filename":"file4"},{"photo_id":"1349951072","filename":"file1"},{"photo_id":"1349951059","filename":"file0"},{"photo_id":"1349951086","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349951072":["hashtag1","hashtag2"]},{"1349951176":["hashtag1","hashtag2"]},{"1349951086":["hashtag1","hashtag2"]},{"1349951059":["hashtag1","hashtag2"]},{"1349951122":["hashtag1","hashtag2"]},{"1349951079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349951072, 1349951176, 1349951086, 1349951059, 1349951122, 1349951079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.55239486694336 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:38:03.452532
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/37/image_15042025_18_37_02_1438.jpg', 2), ('/home/pi/Desktop/images/15042025/18/34/image_15042025_18_34_02_1498.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/37/image_15042025_18_37_02_1438.jpg', '/home/pi/Desktop/images/15042025/18/34/image_15042025_18_34_02_1498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/37/image_15042025_18_37_02_1438.jpg
/home/pi/Desktop/images/15042025/18/34/image_15042025_18_34_02_1498.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951318","1349951311"],"photo_ids_order":["1349951311","1349951318"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9aa41c806820459eecd65106d5457f6.jpg","text":"TemporaryFile(/tmp/multipartBody741908406967205451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735144583,"filename":"image_15042025_18_34_02_1498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae805e0e7eadb4f7e63f3d8352b02875.jpg","text":"TemporaryFile(/tmp/multipartBody7531911556749042771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735144583,"filename":"image_15042025_18_37_02_1438.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349951318","file0":"1349951311"},"map_files_photo_id_array":[{"photo_id":"1349951318","filename":"file1"},{"photo_id":"1349951311","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349951318":["hashtag1","hashtag2"]},{"1349951311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349951318, 1349951311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.869966506958008 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:39:03.806087
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/38/image_15042025_18_38_01_6676.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/38/image_15042025_18_38_01_6676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/38/image_15042025_18_38_01_6676.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951378"],"photo_id":"1349951378","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bde0d228039507aab619fbb2540374c.jpg","text":"TemporaryFile(/tmp/multipartBody3100062900940592967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735204663,"filename":"image_15042025_18_38_01_6676.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349951378"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349951378"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.81129765510559 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:40:03.347136
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/39/image_15042025_18_39_02_0687.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/39/image_15042025_18_39_02_0687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/39/image_15042025_18_39_02_0687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951448"],"photo_id":"1349951448","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91c453c8ad18363f85ea4b0dbba9c77f.jpg","text":"TemporaryFile(/tmp/multipartBody3692795763170133521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735264091,"filename":"image_15042025_18_39_02_0687.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349951448"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349951448"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.070371150970459 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:41:03.022389
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/40/image_15042025_18_40_02_3642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/40/image_15042025_18_40_02_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/40/image_15042025_18_40_02_3642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951577"],"photo_id":"1349951577","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52b9d3dbe414ba15b2744d58fde95c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5097072039051343170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735323751,"filename":"image_15042025_18_40_02_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349951577"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349951577"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.177472114562988 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:42:03.076059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.jpg', 2), ('/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_01_7083.jpg', 2), ('/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_01_3220.jpg', 2), ('/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_01_6391.jpg', 2), ('/home/pi/Desktop/images/14042025/18/54/image_14042025_18_54_01_7455.jpg', 2), ('/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_01_5624.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.jpg', '/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_01_7083.jpg', '/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_01_3220.jpg', '/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_01_6391.jpg', '/home/pi/Desktop/images/14042025/18/54/image_14042025_18_54_01_7455.jpg', '/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_01_5624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.jpg
/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_01_7083.jpg
/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_01_3220.jpg
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_01_6391.jpg
/home/pi/Desktop/images/14042025/18/54/image_14042025_18_54_01_7455.jpg
/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_01_5624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951915","1349952055","1349952208","1349952186","1349951793","1349952144"],"photo_ids_order":["1349951793","1349951915","1349952055","1349952144","1349952186","1349952208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ded83544c8ecc03f8d004770c20f305.jpg","text":"TemporaryFile(/tmp/multipartBody4404033364453067736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735388003,"filename":"image_14042025_18_58_01_7083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5efd1072ee4112d19237ffe59ee89663.jpg","text":"TemporaryFile(/tmp/multipartBody8091393458936753405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735388003,"filename":"image_14042025_18_57_01_3220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9eadc57a7bb0e6508bc67a5c78ac704.jpg","text":"TemporaryFile(/tmp/multipartBody5171239069346459404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735388003,"filename":"image_14042025_18_53_01_5624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d1c0023297f1cf55e51326141959847.jpg","text":"TemporaryFile(/tmp/multipartBody3176442582996447312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735388003,"filename":"image_14042025_18_54_01_7455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d87efa239514c818b56bbd3ceb47cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody6875107184763863846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735388003,"filename":"image_14042025_19_00_01_4654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3e69c4d58966cf3f379593c1fac7e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8452613636459933110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735388003,"filename":"image_14042025_18_56_01_6391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952055","file1":"1349951915","file0":"1349951793","file4":"1349952186","file5":"1349952208","file3":"1349952144"},"map_files_photo_id_array":[{"photo_id":"1349952208","filename":"file5"},{"photo_id":"1349952055","filename":"file2"},{"photo_id":"1349952186","filename":"file4"},{"photo_id":"1349951915","filename":"file1"},{"photo_id":"1349951793","filename":"file0"},{"photo_id":"1349952144","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349951915":["hashtag1","hashtag2"]},{"1349952055":["hashtag1","hashtag2"]},{"1349952208":["hashtag1","hashtag2"]},{"1349952186":["hashtag1","hashtag2"]},{"1349951793":["hashtag1","hashtag2"]},{"1349952144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349951915, 1349952055, 1349952208, 1349952186, 1349951793, 1349952144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.357738733291626 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:44:02.960246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_01_9492.jpg', 2), ('/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_01_4412.jpg', 2), ('/home/pi/Desktop/images/14042025/18/50/image_14042025_18_50_01_7584.jpg', 2), ('/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_01_5792.jpg', 2), ('/home/pi/Desktop/images/14042025/18/48/image_14042025_18_48_01_4137.jpg', 2), ('/home/pi/Desktop/images/14042025/18/47/image_14042025_18_47_01_2773.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_01_9492.jpg', '/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_01_4412.jpg', '/home/pi/Desktop/images/14042025/18/50/image_14042025_18_50_01_7584.jpg', '/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_01_5792.jpg', '/home/pi/Desktop/images/14042025/18/48/image_14042025_18_48_01_4137.jpg', '/home/pi/Desktop/images/14042025/18/47/image_14042025_18_47_01_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_01_9492.jpg
/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_01_4412.jpg
/home/pi/Desktop/images/14042025/18/50/image_14042025_18_50_01_7584.jpg
/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_01_5792.jpg
/home/pi/Desktop/images/14042025/18/48/image_14042025_18_48_01_4137.jpg
/home/pi/Desktop/images/14042025/18/47/image_14042025_18_47_01_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952373","1349952381","1349952363","1349952357","1349952405","1349952395"],"photo_ids_order":["1349952357","1349952363","1349952373","1349952381","1349952395","1349952405"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaa58a85f1c70c8016caa69dfeb32bd8.jpg","text":"TemporaryFile(/tmp/multipartBody9023696137489362216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735507889,"filename":"image_14042025_18_50_01_7584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7206d0eb3b593d0f6c4601c127a35458.jpg","text":"TemporaryFile(/tmp/multipartBody7609820748515408606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735507889,"filename":"image_14042025_18_49_01_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6350fd3ae035db926b230cfd17dd608e.jpg","text":"TemporaryFile(/tmp/multipartBody8438393742684468641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735507889,"filename":"image_14042025_18_51_01_4412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/489bc54a238db8f0dd4635a1621f619e.jpg","text":"TemporaryFile(/tmp/multipartBody6012308837920435173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735507889,"filename":"image_14042025_18_52_01_9492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eef5f8ad99f9a2673ddbecf24f401e04.jpg","text":"TemporaryFile(/tmp/multipartBody3084508756237115064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735507889,"filename":"image_14042025_18_47_01_2773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/773e4d51bd080bfcc6e64dd4807e083d.jpg","text":"TemporaryFile(/tmp/multipartBody1063675261715856834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735507889,"filename":"image_14042025_18_48_01_4137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952373","file1":"1349952363","file0":"1349952357","file4":"1349952395","file5":"1349952405","file3":"1349952381"},"map_files_photo_id_array":[{"photo_id":"1349952405","filename":"file5"},{"photo_id":"1349952373","filename":"file2"},{"photo_id":"1349952395","filename":"file4"},{"photo_id":"1349952363","filename":"file1"},{"photo_id":"1349952357","filename":"file0"},{"photo_id":"1349952381","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349952373":["hashtag1","hashtag2"]},{"1349952381":["hashtag1","hashtag2"]},{"1349952363":["hashtag1","hashtag2"]},{"1349952357":["hashtag1","hashtag2"]},{"1349952405":["hashtag1","hashtag2"]},{"1349952395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349952373, 1349952381, 1349952363, 1349952357, 1349952405, 1349952395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.490583658218384 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:46:03.449516
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/45/image_15042025_18_45_01_6174.jpg', 2), ('/home/pi/Desktop/images/15042025/18/41/image_15042025_18_41_02_0049.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/45/image_15042025_18_45_01_6174.jpg', '/home/pi/Desktop/images/15042025/18/41/image_15042025_18_41_02_0049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/45/image_15042025_18_45_01_6174.jpg
/home/pi/Desktop/images/15042025/18/41/image_15042025_18_41_02_0049.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952496","1349952507"],"photo_ids_order":["1349952496","1349952507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f14d0be7b0639dda45795f9272b2da1.jpg","text":"TemporaryFile(/tmp/multipartBody3600322521700671136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735624608,"filename":"image_15042025_18_45_01_6174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af25110053ac291c2955cd717482e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody291637223553559747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735624608,"filename":"image_15042025_18_41_02_0049.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349952507","file0":"1349952496"},"map_files_photo_id_array":[{"photo_id":"1349952507","filename":"file1"},{"photo_id":"1349952496","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349952496":["hashtag1","hashtag2"]},{"1349952507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349952496, 1349952507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.686766624450684 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:47:03.112815
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/46/image_15042025_18_46_01_9381.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/46/image_15042025_18_46_01_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/46/image_15042025_18_46_01_9381.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952900"],"photo_id":"1349952900","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f15beab1d12c587eda67fe7869b63807.jpg","text":"TemporaryFile(/tmp/multipartBody8070561174749742120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735683657,"filename":"image_15042025_18_46_01_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349952900"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349952900"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.485235452651978 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:48:03.368670
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/47/image_15042025_18_47_02_1946.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/47/image_15042025_18_47_02_1946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/47/image_15042025_18_47_02_1946.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952973"],"photo_id":"1349952973","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a114f998322ec1da1c691d02f0ba595.jpg","text":"TemporaryFile(/tmp/multipartBody2182680161033022467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735744110,"filename":"image_15042025_18_47_02_1946.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349952973"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349952973"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.789007186889648 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:49:03.089367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/46/image_14042025_18_46_01_8968.jpg', 2), ('/home/pi/Desktop/images/14042025/18/45/image_14042025_18_45_01_4512.jpg', 2), ('/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_02_1812.jpg', 2), ('/home/pi/Desktop/images/14042025/18/43/image_14042025_18_43_02_0810.jpg', 2), ('/home/pi/Desktop/images/14042025/18/42/image_14042025_18_42_02_1715.jpg', 2), ('/home/pi/Desktop/images/14042025/18/41/image_14042025_18_41_02_0944.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/46/image_14042025_18_46_01_8968.jpg', '/home/pi/Desktop/images/14042025/18/45/image_14042025_18_45_01_4512.jpg', '/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_02_1812.jpg', '/home/pi/Desktop/images/14042025/18/43/image_14042025_18_43_02_0810.jpg', '/home/pi/Desktop/images/14042025/18/42/image_14042025_18_42_02_1715.jpg', '/home/pi/Desktop/images/14042025/18/41/image_14042025_18_41_02_0944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/46/image_14042025_18_46_01_8968.jpg
/home/pi/Desktop/images/14042025/18/45/image_14042025_18_45_01_4512.jpg
/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_02_1812.jpg
/home/pi/Desktop/images/14042025/18/43/image_14042025_18_43_02_0810.jpg
/home/pi/Desktop/images/14042025/18/42/image_14042025_18_42_02_1715.jpg
/home/pi/Desktop/images/14042025/18/41/image_14042025_18_41_02_0944.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953150","1349953081","1349953057","1349953042","1349953119","1349953046"],"photo_ids_order":["1349953042","1349953046","1349953057","1349953081","1349953119","1349953150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3ed197d42061c5438340eef16b462e3.jpg","text":"TemporaryFile(/tmp/multipartBody7955404998363780618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735807569,"filename":"image_14042025_18_41_02_0944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db498a63e2567f57fbacbd12431361e1.jpg","text":"TemporaryFile(/tmp/multipartBody6965650410593658902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735807569,"filename":"image_14042025_18_43_02_0810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13f8ff2c877cde315d24ba2c56b4f94b.jpg","text":"TemporaryFile(/tmp/multipartBody6168974172727703953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735807569,"filename":"image_14042025_18_44_02_1812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/874b3f59c59df488e3bb1028a8b07c54.jpg","text":"TemporaryFile(/tmp/multipartBody1381186649708068840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735807569,"filename":"image_14042025_18_46_01_8968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52cf6035868a7c7da0e9ee68150a8af9.jpg","text":"TemporaryFile(/tmp/multipartBody2266088731779569034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735807569,"filename":"image_14042025_18_42_02_1715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/056f6b8817c73873b832d48a9e689331.jpg","text":"TemporaryFile(/tmp/multipartBody6369255839154895133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735807569,"filename":"image_14042025_18_45_01_4512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953057","file1":"1349953046","file0":"1349953042","file4":"1349953119","file5":"1349953150","file3":"1349953081"},"map_files_photo_id_array":[{"photo_id":"1349953150","filename":"file5"},{"photo_id":"1349953057","filename":"file2"},{"photo_id":"1349953119","filename":"file4"},{"photo_id":"1349953046","filename":"file1"},{"photo_id":"1349953042","filename":"file0"},{"photo_id":"1349953081","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349953150":["hashtag1","hashtag2"]},{"1349953081":["hashtag1","hashtag2"]},{"1349953057":["hashtag1","hashtag2"]},{"1349953042":["hashtag1","hashtag2"]},{"1349953119":["hashtag1","hashtag2"]},{"1349953046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349953150, 1349953081, 1349953057, 1349953042, 1349953119, 1349953046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.72421932220459 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:51:03.785376
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/48/image_15042025_18_48_01_3088.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/48/image_15042025_18_48_01_3088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/48/image_15042025_18_48_01_3088.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953363"],"photo_id":"1349953363","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cba43f23aca782a8d0ff8871b560e34.jpg","text":"TemporaryFile(/tmp/multipartBody3514786569774531290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735924571,"filename":"image_15042025_18_48_01_3088.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349953363"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349953363"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.132153749465942 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:52:03.159435
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/50/image_15042025_18_50_01_2074.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/50/image_15042025_18_50_01_2074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/50/image_15042025_18_50_01_2074.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953460"],"photo_id":"1349953460","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21a98e44b12fb813f926c7f7c341c96d.jpg","text":"TemporaryFile(/tmp/multipartBody7555713082793141877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735983892,"filename":"image_15042025_18_50_01_2074.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349953460"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349953460"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.412925481796265 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:53:03.884025
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/52/image_15042025_18_52_02_2578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/52/image_15042025_18_52_02_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/52/image_15042025_18_52_02_2578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953525"],"photo_id":"1349953525","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29facb58cb0ab6cf2ba7bfff406971a4.jpg","text":"TemporaryFile(/tmp/multipartBody4135597879376286486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736044445,"filename":"image_15042025_18_52_02_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349953525"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349953525"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.56069040298462 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:54:02.972562
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/53/image_15042025_18_53_01_8187.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/53/image_15042025_18_53_01_8187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/53/image_15042025_18_53_01_8187.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953576"],"photo_id":"1349953576","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b11e2164bd221ef712b998c57012cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8633877275543341816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736103610,"filename":"image_15042025_18_53_01_8187.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349953576"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349953576"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.12507152557373 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:55:03.549178
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/54/image_15042025_18_54_02_1634.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/54/image_15042025_18_54_02_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/54/image_15042025_18_54_02_1634.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953813"],"photo_id":"1349953813","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9303d05eea39f6c9664f34ee75b8b544.jpg","text":"TemporaryFile(/tmp/multipartBody5165931817118300108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736164260,"filename":"image_15042025_18_54_02_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349953813"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349953813"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.106890439987183 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:56:02.956911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_01_7125.jpg', 2), ('/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_01_5009.jpg', 2), ('/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_02_2091.jpg', 2), ('/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_01_9428.jpg', 2), ('/home/pi/Desktop/images/14042025/18/36/image_14042025_18_36_01_3693.jpg', 2), ('/home/pi/Desktop/images/14042025/18/34/image_14042025_18_34_01_9901.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_01_7125.jpg', '/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_01_5009.jpg', '/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_02_2091.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_01_9428.jpg', '/home/pi/Desktop/images/14042025/18/36/image_14042025_18_36_01_3693.jpg', '/home/pi/Desktop/images/14042025/18/34/image_14042025_18_34_01_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_01_7125.jpg
/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_01_5009.jpg
/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_02_2091.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_01_9428.jpg
/home/pi/Desktop/images/14042025/18/36/image_14042025_18_36_01_3693.jpg
/home/pi/Desktop/images/14042025/18/34/image_14042025_18_34_01_9901.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953873","1349953867","1349953893","1349953883","1349953916","1349953904"],"photo_ids_order":["1349953867","1349953873","1349953883","1349953893","1349953904","1349953916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64a588296daaf3d53f6bcfff031f33fc.jpg","text":"TemporaryFile(/tmp/multipartBody4635122790839055590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736227475,"filename":"image_14042025_18_39_01_5009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9821e8a9f685b1f3d5d14c6ccbab7709.jpg","text":"TemporaryFile(/tmp/multipartBody4038565936298032849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736227475,"filename":"image_14042025_18_40_01_7125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1e9f9ac01af643f1789d70656330de5.jpg","text":"TemporaryFile(/tmp/multipartBody8688894681247092860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736227475,"filename":"image_14042025_18_37_01_9428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ad0d35928845b397c9be0d216a27a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4523078285150239690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736227475,"filename":"image_14042025_18_38_02_2091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2565e413abdcea6ea281beab38367cc.jpg","text":"TemporaryFile(/tmp/multipartBody8409994093346603984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736227475,"filename":"image_14042025_18_34_01_9901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ea182b5f2a0829cec36d72f1d57cbde.jpg","text":"TemporaryFile(/tmp/multipartBody5165291580410510395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736227475,"filename":"image_14042025_18_36_01_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953883","file1":"1349953873","file0":"1349953867","file4":"1349953904","file5":"1349953916","file3":"1349953893"},"map_files_photo_id_array":[{"photo_id":"1349953916","filename":"file5"},{"photo_id":"1349953883","filename":"file2"},{"photo_id":"1349953904","filename":"file4"},{"photo_id":"1349953873","filename":"file1"},{"photo_id":"1349953867","filename":"file0"},{"photo_id":"1349953893","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349953873":["hashtag1","hashtag2"]},{"1349953867":["hashtag1","hashtag2"]},{"1349953893":["hashtag1","hashtag2"]},{"1349953883":["hashtag1","hashtag2"]},{"1349953916":["hashtag1","hashtag2"]},{"1349953904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349953873, 1349953867, 1349953893, 1349953883, 1349953916, 1349953904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.80046463012695 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 18:59:03.239925
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/58/image_15042025_18_58_01_8242.jpg', 2), ('/home/pi/Desktop/images/15042025/18/57/image_15042025_18_57_01_6312.jpg', 2), ('/home/pi/Desktop/images/15042025/18/55/image_15042025_18_55_01_6925.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/58/image_15042025_18_58_01_8242.jpg', '/home/pi/Desktop/images/15042025/18/57/image_15042025_18_57_01_6312.jpg', '/home/pi/Desktop/images/15042025/18/55/image_15042025_18_55_01_6925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/58/image_15042025_18_58_01_8242.jpg
/home/pi/Desktop/images/15042025/18/57/image_15042025_18_57_01_6312.jpg
/home/pi/Desktop/images/15042025/18/55/image_15042025_18_55_01_6925.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349954616","1349954488","1349954761"],"photo_ids_order":["1349954488","1349954616","1349954761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77780b69e00b993c3d64a83fd7de0939.jpg","text":"TemporaryFile(/tmp/multipartBody6552255950177948756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736404730,"filename":"image_15042025_18_57_01_6312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a400760ef6f9343350261249667964b0.jpg","text":"TemporaryFile(/tmp/multipartBody4250892786213255347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736404730,"filename":"image_15042025_18_58_01_8242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bd929be1c322def3ae17cda8774bc0e.jpg","text":"TemporaryFile(/tmp/multipartBody1593502826848413978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736404730,"filename":"image_15042025_18_55_01_6925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349954761","file1":"1349954616","file0":"1349954488"},"map_files_photo_id_array":[{"photo_id":"1349954761","filename":"file2"},{"photo_id":"1349954616","filename":"file1"},{"photo_id":"1349954488","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349954616":["hashtag1","hashtag2"]},{"1349954488":["hashtag1","hashtag2"]},{"1349954761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349954616, 1349954488, 1349954761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.353646993637085 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:00:03.478923
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/18/59/image_15042025_18_59_01_3475.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/59/image_15042025_18_59_01_3475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/18/59/image_15042025_18_59_01_3475.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349955268"],"photo_id":"1349955268","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d65c2c75fb426b1cf966b35912cdc77c.jpg","text":"TemporaryFile(/tmp/multipartBody6100175065531578463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464199,"filename":"image_15042025_18_59_01_3475.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349955268"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349955268"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.166778564453125 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:01:03.241262
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/00/image_15042025_19_00_01_4663.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/00/image_15042025_19_00_01_4663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/00/image_15042025_19_00_01_4663.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349956222"],"photo_id":"1349956222","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d6a1c1ec521e1d7ad2ea5688fe815ab.jpg","text":"TemporaryFile(/tmp/multipartBody7851693223712312246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736523918,"filename":"image_15042025_19_00_01_4663.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349956222"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349956222"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.45210862159729 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:02:03.248807
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/03/image_15042025_19_03_01_9354.jpg', 2), ('/home/pi/Desktop/images/15042025/19/01/image_15042025_19_01_02_1876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/01/image_15042025_19_01_02_1876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/01/image_15042025_19_01_02_1876.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349956862"],"photo_id":"1349956862","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc10dd9fb10ec805554003994cb67866.jpg","text":"TemporaryFile(/tmp/multipartBody5331037021220792807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736584308,"filename":"image_15042025_19_01_02_1876.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349956862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349956862"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.393782138824463 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/19/03/image_15042025_19_03_01_9354.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:03:03.870151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_01_5521.jpg', 2), ('/home/pi/Desktop/images/14042025/18/32/image_14042025_18_32_02_1907.jpg', 2), ('/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_02_1462.jpg', 2), ('/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_01_9749.jpg', 2), ('/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_01_9553.jpg', 2), ('/home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_01_5900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_01_5521.jpg', '/home/pi/Desktop/images/14042025/18/32/image_14042025_18_32_02_1907.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_02_1462.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_01_9749.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_01_9553.jpg', '/home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_01_5900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_01_5521.jpg
/home/pi/Desktop/images/14042025/18/32/image_14042025_18_32_02_1907.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_02_1462.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_01_9749.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_01_9553.jpg
/home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_01_5900.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349957927","1349957822","1349957593","1349957449","1349957713","1349957892"],"photo_ids_order":["1349957449","1349957593","1349957713","1349957822","1349957892","1349957927"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37e617c21dd74c8d9103773d8afe3440.jpg","text":"TemporaryFile(/tmp/multipartBody5772060818122874646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736648592,"filename":"image_14042025_18_28_01_5900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6eee48329c58be70fbd36da2a787a533.jpg","text":"TemporaryFile(/tmp/multipartBody1798306734721454715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736648592,"filename":"image_14042025_18_30_01_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/510077b0be11f1222ca49c43aa9e323e.jpg","text":"TemporaryFile(/tmp/multipartBody8567121857552014738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736648592,"filename":"image_14042025_18_32_02_1907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/594e28dda9ad73660e08f3c7cf3dec6d.jpg","text":"TemporaryFile(/tmp/multipartBody7454041121760649475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736648592,"filename":"image_14042025_18_33_01_5521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88e77eee6c4446851b7d54530b575c91.jpg","text":"TemporaryFile(/tmp/multipartBody3439458289123016240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736648592,"filename":"image_14042025_18_31_02_1462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0b4f0f80a5b2cc2cfdc047ba1cb1bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8108825555719900392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736648592,"filename":"image_14042025_18_29_01_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349957713","file1":"1349957593","file0":"1349957449","file4":"1349957892","file5":"1349957927","file3":"1349957822"},"map_files_photo_id_array":[{"photo_id":"1349957927","filename":"file5"},{"photo_id":"1349957713","filename":"file2"},{"photo_id":"1349957892","filename":"file4"},{"photo_id":"1349957593","filename":"file1"},{"photo_id":"1349957449","filename":"file0"},{"photo_id":"1349957822","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349957927":["hashtag1","hashtag2"]},{"1349957822":["hashtag1","hashtag2"]},{"1349957593":["hashtag1","hashtag2"]},{"1349957449":["hashtag1","hashtag2"]},{"1349957713":["hashtag1","hashtag2"]},{"1349957892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349957927, 1349957822, 1349957593, 1349957449, 1349957713, 1349957892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.40646028518677 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:05:03.055558
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/04/image_15042025_19_04_02_1603.jpg', 2), ('/home/pi/Desktop/images/15042025/19/02/image_15042025_19_02_01_4490.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/04/image_15042025_19_04_02_1603.jpg', '/home/pi/Desktop/images/15042025/19/02/image_15042025_19_02_01_4490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/04/image_15042025_19_04_02_1603.jpg
/home/pi/Desktop/images/15042025/19/02/image_15042025_19_02_01_4490.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349958298","1349958312"],"photo_ids_order":["1349958298","1349958312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7def8a8377ef48b70e7c2444e6942c6.jpg","text":"TemporaryFile(/tmp/multipartBody5558585307036771340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736764215,"filename":"image_15042025_19_04_02_1603.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87189673744f7ea8b41e83a00cf7a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3644687927104496446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736764215,"filename":"image_15042025_19_02_01_4490.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349958312","file0":"1349958298"},"map_files_photo_id_array":[{"photo_id":"1349958312","filename":"file1"},{"photo_id":"1349958298","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349958298":["hashtag1","hashtag2"]},{"1349958312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349958298, 1349958312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.97496461868286 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:06:03.418857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_02_0249.jpg', 2), ('/home/pi/Desktop/images/14042025/18/24/image_14042025_18_24_01_1992.jpg', 2), ('/home/pi/Desktop/images/14042025/18/23/image_14042025_18_23_02_2608.jpg', 2), ('/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_01_7269.jpg', 2), ('/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_01_4661.jpg', 2), ('/home/pi/Desktop/images/14042025/18/20/image_14042025_18_20_02_0376.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_02_0249.jpg', '/home/pi/Desktop/images/14042025/18/24/image_14042025_18_24_01_1992.jpg', '/home/pi/Desktop/images/14042025/18/23/image_14042025_18_23_02_2608.jpg', '/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_01_7269.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_01_4661.jpg', '/home/pi/Desktop/images/14042025/18/20/image_14042025_18_20_02_0376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_02_0249.jpg
/home/pi/Desktop/images/14042025/18/24/image_14042025_18_24_01_1992.jpg
/home/pi/Desktop/images/14042025/18/23/image_14042025_18_23_02_2608.jpg
/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_01_7269.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_01_4661.jpg
/home/pi/Desktop/images/14042025/18/20/image_14042025_18_20_02_0376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349959087","1349958844","1349958966","1349959292","1349959148","1349959205"],"photo_ids_order":["1349958844","1349958966","1349959087","1349959148","1349959205","1349959292"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd298f7b1c9a8558c596b5c37cf8d98f.jpg","text":"TemporaryFile(/tmp/multipartBody2061133855393816802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736828091,"filename":"image_14042025_18_23_02_2608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3e6729b08d8088cddeaf0b9962d3cc4.jpg","text":"TemporaryFile(/tmp/multipartBody276494253608305941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736828091,"filename":"image_14042025_18_25_02_0249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/086824fa49ea95878ccf745885161ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1078047591624001674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736828091,"filename":"image_14042025_18_24_01_1992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06f8cc4c41bbcacd2f8a1d82ada67101.jpg","text":"TemporaryFile(/tmp/multipartBody7214362376911158397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736828091,"filename":"image_14042025_18_20_02_0376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d01bda445f799c61ef1a82b3c1bed17.jpg","text":"TemporaryFile(/tmp/multipartBody1743935604718273055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736828091,"filename":"image_14042025_18_22_01_7269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05c486999cbb2a269e4215f06f106bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6706144479880791338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736828091,"filename":"image_14042025_18_21_01_4661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349959087","file1":"1349958966","file0":"1349958844","file4":"1349959205","file5":"1349959292","file3":"1349959148"},"map_files_photo_id_array":[{"photo_id":"1349959292","filename":"file5"},{"photo_id":"1349959087","filename":"file2"},{"photo_id":"1349959205","filename":"file4"},{"photo_id":"1349958966","filename":"file1"},{"photo_id":"1349958844","filename":"file0"},{"photo_id":"1349959148","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349959087":["hashtag1","hashtag2"]},{"1349958844":["hashtag1","hashtag2"]},{"1349958966":["hashtag1","hashtag2"]},{"1349959292":["hashtag1","hashtag2"]},{"1349959148":["hashtag1","hashtag2"]},{"1349959205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349959087, 1349958844, 1349958966, 1349959292, 1349959148, 1349959205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.85117483139038 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:08:03.422511
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/07/image_15042025_19_07_02_1184.jpg', 2), ('/home/pi/Desktop/images/15042025/19/05/image_15042025_19_05_02_1521.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/07/image_15042025_19_07_02_1184.jpg', '/home/pi/Desktop/images/15042025/19/05/image_15042025_19_05_02_1521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/07/image_15042025_19_07_02_1184.jpg
/home/pi/Desktop/images/15042025/19/05/image_15042025_19_05_02_1521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349960105","1349960010"],"photo_ids_order":["1349960010","1349960105"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4591f8131a150f8bb3742d4fbaf1202b.jpg","text":"TemporaryFile(/tmp/multipartBody8260896033711084483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736944524,"filename":"image_15042025_19_05_02_1521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de4bed4dcad3db4cf7e851c806447551.jpg","text":"TemporaryFile(/tmp/multipartBody6749962630211738805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736944524,"filename":"image_15042025_19_07_02_1184.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349960105","file0":"1349960010"},"map_files_photo_id_array":[{"photo_id":"1349960105","filename":"file1"},{"photo_id":"1349960010","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349960105":["hashtag1","hashtag2"]},{"1349960010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349960105, 1349960010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.68323564529419 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:09:03.073628
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/08/image_15042025_19_08_01_4666.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/08/image_15042025_19_08_01_4666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/08/image_15042025_19_08_01_4666.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349960574"],"photo_id":"1349960574","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e1a9258ddd028936d85b25e96a6003c.jpg","text":"TemporaryFile(/tmp/multipartBody2098437609516473633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737003875,"filename":"image_15042025_19_08_01_4666.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349960574"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349960574"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.20358157157898 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:10:03.466476
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/09/image_15042025_19_09_02_1536.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/09/image_15042025_19_09_02_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/09/image_15042025_19_09_02_1536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349960916"],"photo_id":"1349960916","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/218622d999a0ebcbf7db6a3b84d5180c.jpg","text":"TemporaryFile(/tmp/multipartBody734405594639648585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737064195,"filename":"image_15042025_19_09_02_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349960916"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349960916"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.187814474105835 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:11:03.008596
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/10/image_15042025_19_10_01_3243.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/10/image_15042025_19_10_01_3243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/10/image_15042025_19_10_01_3243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349961397"],"photo_id":"1349961397","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2272e8f36057d43753a5ac7ab89125bb.jpg","text":"TemporaryFile(/tmp/multipartBody8937988038972233493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737123761,"filename":"image_15042025_19_10_01_3243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349961397"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349961397"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.875975847244263 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:12:03.401500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_01_8690.jpg', 2), ('/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_02_3124.jpg', 2), ('/home/pi/Desktop/images/14042025/18/17/image_14042025_18_17_01_7920.jpg', 2), ('/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_01_7416.jpg', 2), ('/home/pi/Desktop/images/14042025/18/15/image_14042025_18_15_02_1217.jpg', 2), ('/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_01_7169.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_01_8690.jpg', '/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_02_3124.jpg', '/home/pi/Desktop/images/14042025/18/17/image_14042025_18_17_01_7920.jpg', '/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_01_7416.jpg', '/home/pi/Desktop/images/14042025/18/15/image_14042025_18_15_02_1217.jpg', '/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_01_7169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_01_8690.jpg
/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_02_3124.jpg
/home/pi/Desktop/images/14042025/18/17/image_14042025_18_17_01_7920.jpg
/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_01_7416.jpg
/home/pi/Desktop/images/14042025/18/15/image_14042025_18_15_02_1217.jpg
/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_01_7169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349961628","1349961672","1349961636","1349961645","1349961618","1349961655"],"photo_ids_order":["1349961618","1349961628","1349961636","1349961645","1349961655","1349961672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26a947fe7fcf0cf47c28dd63d9b56c66.jpg","text":"TemporaryFile(/tmp/multipartBody1974121307808258398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737189197,"filename":"image_14042025_18_18_02_3124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9534bbdc5264a0c6691445ad3e3a6478.jpg","text":"TemporaryFile(/tmp/multipartBody643083699486561682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737189197,"filename":"image_14042025_18_14_01_7169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebe88886fc326b0ce24727b7fbf07f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6566943502613898355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737189197,"filename":"image_14042025_18_17_01_7920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b30b239839dbbbdae3c02c6d63ace9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2523712925807801588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737189197,"filename":"image_14042025_18_16_01_7416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d9a3c7ea14a13ae6cafa404f080c33a.jpg","text":"TemporaryFile(/tmp/multipartBody8830898398587647028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737189197,"filename":"image_14042025_18_19_01_8690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58c5d0157880d2a53c4948c0e2d1f97a.jpg","text":"TemporaryFile(/tmp/multipartBody3540399518442155728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737189197,"filename":"image_14042025_18_15_02_1217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349961636","file1":"1349961628","file0":"1349961618","file4":"1349961655","file5":"1349961672","file3":"1349961645"},"map_files_photo_id_array":[{"photo_id":"1349961672","filename":"file5"},{"photo_id":"1349961636","filename":"file2"},{"photo_id":"1349961655","filename":"file4"},{"photo_id":"1349961628","filename":"file1"},{"photo_id":"1349961618","filename":"file0"},{"photo_id":"1349961645","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349961628":["hashtag1","hashtag2"]},{"1349961672":["hashtag1","hashtag2"]},{"1349961636":["hashtag1","hashtag2"]},{"1349961645":["hashtag1","hashtag2"]},{"1349961618":["hashtag1","hashtag2"]},{"1349961655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349961628, 1349961672, 1349961636, 1349961645, 1349961618, 1349961655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.80187225341797 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:14:03.175182
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/13/image_15042025_19_13_02_0262.jpg', 2), ('/home/pi/Desktop/images/15042025/19/11/image_15042025_19_11_02_1265.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/13/image_15042025_19_13_02_0262.jpg', '/home/pi/Desktop/images/15042025/19/11/image_15042025_19_11_02_1265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/13/image_15042025_19_13_02_0262.jpg
/home/pi/Desktop/images/15042025/19/11/image_15042025_19_11_02_1265.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349962290","1349962465"],"photo_ids_order":["1349962290","1349962465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a41eb2b92064f15290b183ff5a8005b.jpg","text":"TemporaryFile(/tmp/multipartBody3408162629029134486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737304371,"filename":"image_15042025_19_13_02_0262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cd9c2ce30a2b9007481bdbf5976eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody2562834599208994774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737304371,"filename":"image_15042025_19_11_02_1265.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349962465","file0":"1349962290"},"map_files_photo_id_array":[{"photo_id":"1349962465","filename":"file1"},{"photo_id":"1349962290","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349962290":["hashtag1","hashtag2"]},{"1349962465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349962290, 1349962465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.570836544036865 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:15:03.796348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/13/image_14042025_18_13_01_5175.jpg', 2), ('/home/pi/Desktop/images/14042025/18/12/image_14042025_18_12_01_5872.jpg', 2), ('/home/pi/Desktop/images/14042025/18/11/image_14042025_18_11_01_4073.jpg', 2), ('/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_01_8986.jpg', 2), ('/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_01_5774.jpg', 2), ('/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_01_6270.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/13/image_14042025_18_13_01_5175.jpg', '/home/pi/Desktop/images/14042025/18/12/image_14042025_18_12_01_5872.jpg', '/home/pi/Desktop/images/14042025/18/11/image_14042025_18_11_01_4073.jpg', '/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_01_8986.jpg', '/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_01_5774.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_01_6270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/13/image_14042025_18_13_01_5175.jpg
/home/pi/Desktop/images/14042025/18/12/image_14042025_18_12_01_5872.jpg
/home/pi/Desktop/images/14042025/18/11/image_14042025_18_11_01_4073.jpg
/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_01_8986.jpg
/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_01_5774.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_01_6270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349962857","1349962800","1349963444","1349962985","1349963306","1349963156"],"photo_ids_order":["1349962800","1349962857","1349962985","1349963156","1349963306","1349963444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0f23560771c0866b2f2108ee454686b.jpg","text":"TemporaryFile(/tmp/multipartBody1631834570810886535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737368992,"filename":"image_14042025_18_12_01_5872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6f279131637ee774eb36bec4890c406.jpg","text":"TemporaryFile(/tmp/multipartBody794359988149204366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737368992,"filename":"image_14042025_18_13_01_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e434acf193f8b684c54447c3c59a565a.jpg","text":"TemporaryFile(/tmp/multipartBody3932997193741368842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737368992,"filename":"image_14042025_18_07_01_6270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d56d2d493ddf8a1b6b9ddbac3c9e262e.jpg","text":"TemporaryFile(/tmp/multipartBody5059677028949464969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737368992,"filename":"image_14042025_18_11_01_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9fc942c31fddd89eb36d539266b693c.jpg","text":"TemporaryFile(/tmp/multipartBody7693444938675951935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737368992,"filename":"image_14042025_18_09_01_5774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31ce577d81a89ac1f794b25f8542517c.jpg","text":"TemporaryFile(/tmp/multipartBody1602158184398744025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737368992,"filename":"image_14042025_18_10_01_8986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349962985","file1":"1349962857","file0":"1349962800","file4":"1349963306","file5":"1349963444","file3":"1349963156"},"map_files_photo_id_array":[{"photo_id":"1349963444","filename":"file5"},{"photo_id":"1349962985","filename":"file2"},{"photo_id":"1349963306","filename":"file4"},{"photo_id":"1349962857","filename":"file1"},{"photo_id":"1349962800","filename":"file0"},{"photo_id":"1349963156","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349962857":["hashtag1","hashtag2"]},{"1349962800":["hashtag1","hashtag2"]},{"1349963444":["hashtag1","hashtag2"]},{"1349962985":["hashtag1","hashtag2"]},{"1349963306":["hashtag1","hashtag2"]},{"1349963156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349962857, 1349962800, 1349963444, 1349962985, 1349963306, 1349963156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.32176327705383 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:17:03.971631
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/14/image_15042025_19_14_01_2377.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/14/image_15042025_19_14_01_2377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/14/image_15042025_19_14_01_2377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349964344"],"photo_id":"1349964344","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c98c4ad5727d20e9d5509c6dc3c50d73.jpg","text":"TemporaryFile(/tmp/multipartBody6897670984507519622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737484865,"filename":"image_15042025_19_14_01_2377.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349964344"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349964344"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.937509775161743 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:18:03.029939
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/17/image_15042025_19_17_01_9868.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/17/image_15042025_19_17_01_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/17/image_15042025_19_17_01_9868.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349965063"],"photo_id":"1349965063","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/108249acab91413c14138aad304737a0.jpg","text":"TemporaryFile(/tmp/multipartBody5298360498872029873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737543717,"filename":"image_15042025_19_17_01_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349965063"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349965063"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.818382263183594 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:19:03.702265
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/18/image_15042025_19_18_02_2521.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/18/image_15042025_19_18_02_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/18/image_15042025_19_18_02_2521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349965431"],"photo_id":"1349965431","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/807757ab5c690fae685a7480efeb8684.jpg","text":"TemporaryFile(/tmp/multipartBody540595981583232698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737604454,"filename":"image_15042025_19_18_02_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349965431"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349965431"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.890419006347656 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:20:03.005044
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/19/image_15042025_19_19_01_7321.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/19/image_15042025_19_19_01_7321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/19/image_15042025_19_19_01_7321.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349965828"],"photo_id":"1349965828","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f30859cfb6e6cecdda20a477a745e2c.jpg","text":"TemporaryFile(/tmp/multipartBody7194170478231265750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737663681,"filename":"image_15042025_19_19_01_7321.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349965828"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349965828"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.729862213134766 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:21:03.945170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_01_8561.jpg', 2), ('/home/pi/Desktop/images/14042025/18/05/image_14042025_18_05_01_6748.jpg', 2), ('/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_02_1791.jpg', 2), ('/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_01_4162.jpg', 2), ('/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_01_3467.jpg', 2), ('/home/pi/Desktop/images/14042025/17/57/image_14042025_17_57_02_0780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_01_8561.jpg', '/home/pi/Desktop/images/14042025/18/05/image_14042025_18_05_01_6748.jpg', '/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_02_1791.jpg', '/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_01_4162.jpg', '/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_01_3467.jpg', '/home/pi/Desktop/images/14042025/17/57/image_14042025_17_57_02_0780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_01_8561.jpg
/home/pi/Desktop/images/14042025/18/05/image_14042025_18_05_01_6748.jpg
/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_02_1791.jpg
/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_01_4162.jpg
/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_01_3467.jpg
/home/pi/Desktop/images/14042025/17/57/image_14042025_17_57_02_0780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349966872","1349967027","1349966655","1349966559","1349966466","1349966753"],"photo_ids_order":["1349966466","1349966559","1349966655","1349966753","1349966872","1349967027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccac9cb77681f7e5f3af140d5d2ca750.jpg","text":"TemporaryFile(/tmp/multipartBody930386552014832735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737728707,"filename":"image_14042025_18_01_01_3467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62c80d49f8ee27a5d9b360fb7aaf432f.jpg","text":"TemporaryFile(/tmp/multipartBody406154066267038607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737728707,"filename":"image_14042025_17_57_02_0780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cfa3fcff5ee0580c3154665376d29e1.jpg","text":"TemporaryFile(/tmp/multipartBody7303302908919553418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737728707,"filename":"image_14042025_18_04_02_1791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a065be941e13ce1699f0c4dfc7cb9309.jpg","text":"TemporaryFile(/tmp/multipartBody8335395650715451980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737728707,"filename":"image_14042025_18_05_01_6748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17df5e1609a29b9df045f0d83a9278d9.jpg","text":"TemporaryFile(/tmp/multipartBody1249813129295930764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737728707,"filename":"image_14042025_18_06_01_8561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1b3ccfbd32fc153f5be152bf064ac8e.jpg","text":"TemporaryFile(/tmp/multipartBody4527432816156665825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737728707,"filename":"image_14042025_18_02_01_4162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349966655","file1":"1349966559","file0":"1349966466","file4":"1349966872","file5":"1349967027","file3":"1349966753"},"map_files_photo_id_array":[{"photo_id":"1349967027","filename":"file5"},{"photo_id":"1349966655","filename":"file2"},{"photo_id":"1349966872","filename":"file4"},{"photo_id":"1349966559","filename":"file1"},{"photo_id":"1349966466","filename":"file0"},{"photo_id":"1349966753","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349966872":["hashtag1","hashtag2"]},{"1349967027":["hashtag1","hashtag2"]},{"1349966655":["hashtag1","hashtag2"]},{"1349966559":["hashtag1","hashtag2"]},{"1349966466":["hashtag1","hashtag2"]},{"1349966753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349966872, 1349967027, 1349966655, 1349966559, 1349966466, 1349966753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.30618143081665 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:23:03.099473
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/20/image_15042025_19_20_01_9826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/20/image_15042025_19_20_01_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/20/image_15042025_19_20_01_9826.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349967987"],"photo_id":"1349967987","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ceb3911d2c0b76a66b38dd3e9ae789f.jpg","text":"TemporaryFile(/tmp/multipartBody495630021179786841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737843861,"filename":"image_15042025_19_20_01_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349967987"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349967987"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 24.154820680618286 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:24:03.325797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/56/image_14042025_17_56_01_7928.jpg', 2), ('/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_01_4616.jpg', 2), ('/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_01_3872.jpg', 2), ('/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_01_2665.jpg', 2), ('/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_01_8231.jpg', 2), ('/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_01_4304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/56/image_14042025_17_56_01_7928.jpg', '/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_01_4616.jpg', '/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_01_3872.jpg', '/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_01_2665.jpg', '/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_01_8231.jpg', '/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_01_4304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/56/image_14042025_17_56_01_7928.jpg
/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_01_4616.jpg
/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_01_3872.jpg
/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_01_2665.jpg
/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_01_8231.jpg
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_01_4304.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349968655","1349968232","1349968340","1349968157","1349968555","1349968441"],"photo_ids_order":["1349968157","1349968232","1349968340","1349968441","1349968555","1349968655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f490148064724a5ae403e84b1600b26.jpg","text":"TemporaryFile(/tmp/multipartBody4813965182029460207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737908181,"filename":"image_14042025_17_51_01_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67d156d02c4c5dc5ead6e13c11343beb.jpg","text":"TemporaryFile(/tmp/multipartBody7347322871201603772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737908181,"filename":"image_14042025_17_55_01_4616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbac1d7099184ac52db2909051890986.jpg","text":"TemporaryFile(/tmp/multipartBody4296792541721922866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737908181,"filename":"image_14042025_17_54_01_3872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bd836f3d8879de0868cb1e0fb2f38cc.jpg","text":"TemporaryFile(/tmp/multipartBody2895925365404948377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737908181,"filename":"image_14042025_17_56_01_7928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2905c5d9345b78e7e9531a69582d7c9f.jpg","text":"TemporaryFile(/tmp/multipartBody4157769899220086988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737908181,"filename":"image_14042025_17_52_01_8231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7bf38fdeb397d1250f6eed283081ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3753347398856041144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737908181,"filename":"image_14042025_17_53_01_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349968340","file1":"1349968232","file0":"1349968157","file4":"1349968555","file5":"1349968655","file3":"1349968441"},"map_files_photo_id_array":[{"photo_id":"1349968655","filename":"file5"},{"photo_id":"1349968340","filename":"file2"},{"photo_id":"1349968555","filename":"file4"},{"photo_id":"1349968232","filename":"file1"},{"photo_id":"1349968157","filename":"file0"},{"photo_id":"1349968441","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349968655":["hashtag1","hashtag2"]},{"1349968232":["hashtag1","hashtag2"]},{"1349968340":["hashtag1","hashtag2"]},{"1349968157":["hashtag1","hashtag2"]},{"1349968555":["hashtag1","hashtag2"]},{"1349968441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349968655, 1349968232, 1349968340, 1349968157, 1349968555, 1349968441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.353463888168335 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:26:07.024896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_01_7274.jpg', 2), ('/home/pi/Desktop/images/14042025/17/49/image_14042025_17_49_01_5095.jpg', 2), ('/home/pi/Desktop/images/14042025/17/47/image_14042025_17_47_01_7269.jpg', 2), ('/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_02_2721.jpg', 2), ('/home/pi/Desktop/images/14042025/17/45/image_14042025_17_45_01_5718.jpg', 2), ('/home/pi/Desktop/images/14042025/17/44/image_14042025_17_44_02_2431.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_01_7274.jpg', '/home/pi/Desktop/images/14042025/17/49/image_14042025_17_49_01_5095.jpg', '/home/pi/Desktop/images/14042025/17/47/image_14042025_17_47_01_7269.jpg', '/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_02_2721.jpg', '/home/pi/Desktop/images/14042025/17/45/image_14042025_17_45_01_5718.jpg', '/home/pi/Desktop/images/14042025/17/44/image_14042025_17_44_02_2431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_01_7274.jpg
/home/pi/Desktop/images/14042025/17/49/image_14042025_17_49_01_5095.jpg
/home/pi/Desktop/images/14042025/17/47/image_14042025_17_47_01_7269.jpg
/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_02_2721.jpg
/home/pi/Desktop/images/14042025/17/45/image_14042025_17_45_01_5718.jpg
/home/pi/Desktop/images/14042025/17/44/image_14042025_17_44_02_2431.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349969861","1349970092","1349969785","1349969986","1349969734","1349969649"],"photo_ids_order":["1349969649","1349969734","1349969785","1349969861","1349969986","1349970092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2afff80f447724a9ada4368cdcb094.jpg","text":"TemporaryFile(/tmp/multipartBody3744610278517742501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738032022,"filename":"image_14042025_17_46_02_2721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33b586f4243469400772b6fac7e2e905.jpg","text":"TemporaryFile(/tmp/multipartBody3238126165866334475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738032022,"filename":"image_14042025_17_44_02_2431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d97de49f669617f0a711f44a64cc63dc.jpg","text":"TemporaryFile(/tmp/multipartBody518825870150923033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738032022,"filename":"image_14042025_17_47_01_7269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d47d8950c27dd40008a70a50b05378b.jpg","text":"TemporaryFile(/tmp/multipartBody6548731901655902902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738032022,"filename":"image_14042025_17_45_01_5718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6957aaddb2a2f9dae5f47d5e708c4469.jpg","text":"TemporaryFile(/tmp/multipartBody1606003587316381331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738032022,"filename":"image_14042025_17_49_01_5095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6a4316c36077f4223e78f9ade7ebe68.jpg","text":"TemporaryFile(/tmp/multipartBody2670923640662429561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738032022,"filename":"image_14042025_17_50_01_7274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349969785","file1":"1349969734","file0":"1349969649","file4":"1349969986","file5":"1349970092","file3":"1349969861"},"map_files_photo_id_array":[{"photo_id":"1349970092","filename":"file5"},{"photo_id":"1349969785","filename":"file2"},{"photo_id":"1349969986","filename":"file4"},{"photo_id":"1349969734","filename":"file1"},{"photo_id":"1349969649","filename":"file0"},{"photo_id":"1349969861","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349969861":["hashtag1","hashtag2"]},{"1349970092":["hashtag1","hashtag2"]},{"1349969785":["hashtag1","hashtag2"]},{"1349969986":["hashtag1","hashtag2"]},{"1349969734":["hashtag1","hashtag2"]},{"1349969649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349969861, 1349970092, 1349969785, 1349969986, 1349969734, 1349969649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.68068814277649 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:28:02.603866
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/27/image_15042025_19_27_02_3388.jpg', 2), ('/home/pi/Desktop/images/15042025/19/23/image_15042025_19_23_02_0729.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/27/image_15042025_19_27_02_3388.jpg', '/home/pi/Desktop/images/15042025/19/23/image_15042025_19_23_02_0729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/27/image_15042025_19_27_02_3388.jpg
/home/pi/Desktop/images/15042025/19/23/image_15042025_19_23_02_0729.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349971106","1349971309"],"photo_ids_order":["1349971106","1349971309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7833ea23122a54b3a919d38fd207eec3.jpg","text":"TemporaryFile(/tmp/multipartBody3622871105196337457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738143959,"filename":"image_15042025_19_27_02_3388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55a93ac6a1ebec697a2290fa67e3295e.jpg","text":"TemporaryFile(/tmp/multipartBody7493615992377491757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738143959,"filename":"image_15042025_19_23_02_0729.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349971309","file0":"1349971106"},"map_files_photo_id_array":[{"photo_id":"1349971309","filename":"file1"},{"photo_id":"1349971106","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349971106":["hashtag1","hashtag2"]},{"1349971309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349971106, 1349971309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.58464288711548 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:29:03.354447
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/28/image_15042025_19_28_01_9695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/28/image_15042025_19_28_01_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/28/image_15042025_19_28_01_9695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349972112"],"photo_id":"1349972112","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5678d441bff34dfd9901c851c01c88da.jpg","text":"TemporaryFile(/tmp/multipartBody525820789450198612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738204149,"filename":"image_15042025_19_28_01_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349972112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349972112"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.239288330078125 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:30:03.549165
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/29/image_15042025_19_29_01_2130.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/29/image_15042025_19_29_01_2130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/29/image_15042025_19_29_01_2130.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349972470"],"photo_id":"1349972470","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94659c1cbac8d080a0f0ea7724d9ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody2100151856245216613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738264297,"filename":"image_15042025_19_29_01_2130.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349972470"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349972470"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.496167421340942 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:31:03.188119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_02_0531.jpg', 2), ('/home/pi/Desktop/images/14042025/17/42/image_14042025_17_42_01_6516.jpg', 2), ('/home/pi/Desktop/images/14042025/17/41/image_14042025_17_41_01_5676.jpg', 2), ('/home/pi/Desktop/images/14042025/17/40/image_14042025_17_40_01_8284.jpg', 2), ('/home/pi/Desktop/images/14042025/17/38/image_14042025_17_38_01_7181.jpg', 2), ('/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_01_6054.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_02_0531.jpg', '/home/pi/Desktop/images/14042025/17/42/image_14042025_17_42_01_6516.jpg', '/home/pi/Desktop/images/14042025/17/41/image_14042025_17_41_01_5676.jpg', '/home/pi/Desktop/images/14042025/17/40/image_14042025_17_40_01_8284.jpg', '/home/pi/Desktop/images/14042025/17/38/image_14042025_17_38_01_7181.jpg', '/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_01_6054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_02_0531.jpg
/home/pi/Desktop/images/14042025/17/42/image_14042025_17_42_01_6516.jpg
/home/pi/Desktop/images/14042025/17/41/image_14042025_17_41_01_5676.jpg
/home/pi/Desktop/images/14042025/17/40/image_14042025_17_40_01_8284.jpg
/home/pi/Desktop/images/14042025/17/38/image_14042025_17_38_01_7181.jpg
/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_01_6054.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349973115","1349973297","1349972908","1349973012","1349973458","1349972888"],"photo_ids_order":["1349972888","1349972908","1349973012","1349973115","1349973297","1349973458"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67772cdc33b9cad16fdb436cb6fc842f.jpg","text":"TemporaryFile(/tmp/multipartBody8543563569931735629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738328217,"filename":"image_14042025_17_40_01_8284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60013fb16279823248cd611ca0a11a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3152718546356638773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738328217,"filename":"image_14042025_17_38_01_7181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6300bb13b99e43b5bf07a2d9a2e62f56.jpg","text":"TemporaryFile(/tmp/multipartBody4852372066436611925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738328217,"filename":"image_14042025_17_42_01_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b2d70e3d7eb86f6dcb67ec9d652501a.jpg","text":"TemporaryFile(/tmp/multipartBody849224450471313348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738328217,"filename":"image_14042025_17_41_01_5676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0805e7c6e21050be1e67a0b8e3a37438.jpg","text":"TemporaryFile(/tmp/multipartBody522448757180700681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738328217,"filename":"image_14042025_17_34_01_6054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/663e9e6903a49b375b1f1fec8bc006dd.jpg","text":"TemporaryFile(/tmp/multipartBody4316596185038819054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738328217,"filename":"image_14042025_17_43_02_0531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349973012","file1":"1349972908","file0":"1349972888","file4":"1349973297","file5":"1349973458","file3":"1349973115"},"map_files_photo_id_array":[{"photo_id":"1349973458","filename":"file5"},{"photo_id":"1349973012","filename":"file2"},{"photo_id":"1349973297","filename":"file4"},{"photo_id":"1349972908","filename":"file1"},{"photo_id":"1349972888","filename":"file0"},{"photo_id":"1349973115","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349973115":["hashtag1","hashtag2"]},{"1349973297":["hashtag1","hashtag2"]},{"1349972908":["hashtag1","hashtag2"]},{"1349973012":["hashtag1","hashtag2"]},{"1349973458":["hashtag1","hashtag2"]},{"1349972888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349973115, 1349973297, 1349972908, 1349973012, 1349973458, 1349972888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.55517864227295 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:33:03.370177
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/30/image_15042025_19_30_01_5166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/30/image_15042025_19_30_01_5166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/30/image_15042025_19_30_01_5166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349973786"],"photo_id":"1349973786","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/677363c0a0e86637a7fa4f051e03af6c.jpg","text":"TemporaryFile(/tmp/multipartBody5391835014454106649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738444164,"filename":"image_15042025_19_30_01_5166.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349973786"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349973786"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.457684755325317 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:34:02.678485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/33/image_14042025_17_33_01_3898.jpg', 2), ('/home/pi/Desktop/images/14042025/17/32/image_14042025_17_32_01_6583.jpg', 2), ('/home/pi/Desktop/images/14042025/17/31/image_14042025_17_31_02_1531.jpg', 2), ('/home/pi/Desktop/images/14042025/17/30/image_14042025_17_30_02_0229.jpg', 2), ('/home/pi/Desktop/images/14042025/17/29/image_14042025_17_29_01_8874.jpg', 2), ('/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_01_2000.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/33/image_14042025_17_33_01_3898.jpg', '/home/pi/Desktop/images/14042025/17/32/image_14042025_17_32_01_6583.jpg', '/home/pi/Desktop/images/14042025/17/31/image_14042025_17_31_02_1531.jpg', '/home/pi/Desktop/images/14042025/17/30/image_14042025_17_30_02_0229.jpg', '/home/pi/Desktop/images/14042025/17/29/image_14042025_17_29_01_8874.jpg', '/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_01_2000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/33/image_14042025_17_33_01_3898.jpg
/home/pi/Desktop/images/14042025/17/32/image_14042025_17_32_01_6583.jpg
/home/pi/Desktop/images/14042025/17/31/image_14042025_17_31_02_1531.jpg
/home/pi/Desktop/images/14042025/17/30/image_14042025_17_30_02_0229.jpg
/home/pi/Desktop/images/14042025/17/29/image_14042025_17_29_01_8874.jpg
/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_01_2000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349974660","1349974692","1349974683","1349974673","1349974967","1349975071"],"photo_ids_order":["1349974660","1349974673","1349974683","1349974692","1349974967","1349975071"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02d07d1e2beaa40bedc812e4f8d9c8ed.jpg","text":"TemporaryFile(/tmp/multipartBody1877613305682341738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738507590,"filename":"image_14042025_17_33_01_3898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc94cf893658c887571fa1a45eb7e475.jpg","text":"TemporaryFile(/tmp/multipartBody676266664397717527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738507590,"filename":"image_14042025_17_30_02_0229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/009dd4e2dd1f933ebae366854b2456de.jpg","text":"TemporaryFile(/tmp/multipartBody8745716420367246698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738507590,"filename":"image_14042025_17_31_02_1531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96389f314f127f5cd1ce761f5def86b7.jpg","text":"TemporaryFile(/tmp/multipartBody554266768328779994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738507590,"filename":"image_14042025_17_32_01_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/454c1ab368c1c51d5b53c4567c302444.jpg","text":"TemporaryFile(/tmp/multipartBody1654752351083875295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738507590,"filename":"image_14042025_17_29_01_8874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c1f92b76883724bb8512620010b1d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5894673481301158410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738507590,"filename":"image_14042025_17_27_01_2000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349974683","file1":"1349974673","file0":"1349974660","file4":"1349974967","file5":"1349975071","file3":"1349974692"},"map_files_photo_id_array":[{"photo_id":"1349975071","filename":"file5"},{"photo_id":"1349974683","filename":"file2"},{"photo_id":"1349974967","filename":"file4"},{"photo_id":"1349974673","filename":"file1"},{"photo_id":"1349974660","filename":"file0"},{"photo_id":"1349974692","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349974660":["hashtag1","hashtag2"]},{"1349974692":["hashtag1","hashtag2"]},{"1349974683":["hashtag1","hashtag2"]},{"1349974673":["hashtag1","hashtag2"]},{"1349974967":["hashtag1","hashtag2"]},{"1349975071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349974660, 1349974692, 1349974683, 1349974673, 1349974967, 1349975071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.50936675071716 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:36:02.549770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/26/image_14042025_17_26_01_7514.jpg', 2), ('/home/pi/Desktop/images/14042025/17/25/image_14042025_17_25_01_9784.jpg', 2), ('/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_02_1489.jpg', 2), ('/home/pi/Desktop/images/14042025/17/23/image_14042025_17_23_02_1075.jpg', 2), ('/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_01_6428.jpg', 2), ('/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_01_2016.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/26/image_14042025_17_26_01_7514.jpg', '/home/pi/Desktop/images/14042025/17/25/image_14042025_17_25_01_9784.jpg', '/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_02_1489.jpg', '/home/pi/Desktop/images/14042025/17/23/image_14042025_17_23_02_1075.jpg', '/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_01_6428.jpg', '/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_01_2016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/26/image_14042025_17_26_01_7514.jpg
/home/pi/Desktop/images/14042025/17/25/image_14042025_17_25_01_9784.jpg
/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_02_1489.jpg
/home/pi/Desktop/images/14042025/17/23/image_14042025_17_23_02_1075.jpg
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_01_6428.jpg
/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_01_2016.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975509","1349975523","1349975514","1349975498","1349975489","1349975537"],"photo_ids_order":["1349975489","1349975498","1349975509","1349975514","1349975523","1349975537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0247ba503f3430fad5a5692bb62540a.jpg","text":"TemporaryFile(/tmp/multipartBody5208270818002489661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738627020,"filename":"image_14042025_17_24_02_1489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c216c305ec16bbf4586d4e24380726c1.jpg","text":"TemporaryFile(/tmp/multipartBody1527206068340794242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738627020,"filename":"image_14042025_17_22_01_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a76f9c5754d968da0b17657b6f9bfe46.jpg","text":"TemporaryFile(/tmp/multipartBody6909488400085662387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738627020,"filename":"image_14042025_17_23_02_1075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9bc3c77c0eb44cb6729e506e46cc15a.jpg","text":"TemporaryFile(/tmp/multipartBody4710993509666199720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738627020,"filename":"image_14042025_17_25_01_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67e3e722a94c6f3ae63db4c5a4fca1f9.jpg","text":"TemporaryFile(/tmp/multipartBody5269923580597524235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738627020,"filename":"image_14042025_17_26_01_7514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4342f8e1d3b7f521a39878285ca661e4.jpg","text":"TemporaryFile(/tmp/multipartBody5308934136088725674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738627020,"filename":"image_14042025_17_21_01_2016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349975509","file1":"1349975498","file0":"1349975489","file4":"1349975523","file5":"1349975537","file3":"1349975514"},"map_files_photo_id_array":[{"photo_id":"1349975537","filename":"file5"},{"photo_id":"1349975509","filename":"file2"},{"photo_id":"1349975523","filename":"file4"},{"photo_id":"1349975498","filename":"file1"},{"photo_id":"1349975489","filename":"file0"},{"photo_id":"1349975514","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349975509":["hashtag1","hashtag2"]},{"1349975523":["hashtag1","hashtag2"]},{"1349975514":["hashtag1","hashtag2"]},{"1349975498":["hashtag1","hashtag2"]},{"1349975489":["hashtag1","hashtag2"]},{"1349975537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349975509, 1349975523, 1349975514, 1349975498, 1349975489, 1349975537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.546775579452515 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:38:02.734932
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/32/image_15042025_19_32_01_4595.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/32/image_15042025_19_32_01_4595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/32/image_15042025_19_32_01_4595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975682"],"photo_id":"1349975682","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21dcd60c298a42c27c3c479a9f132cc6.jpg","text":"TemporaryFile(/tmp/multipartBody6661121315552739775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738743491,"filename":"image_15042025_19_32_01_4595.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349975682"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349975682"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.83920407295227 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:39:03.420135
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/38/image_15042025_19_38_01_6702.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/38/image_15042025_19_38_01_6702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/38/image_15042025_19_38_01_6702.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975785"],"photo_id":"1349975785","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f2ed3833bc324a18876dff54f9d9d73.jpg","text":"TemporaryFile(/tmp/multipartBody1308111741353585315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738804228,"filename":"image_15042025_19_38_01_6702.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349975785"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349975785"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.495609760284424 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:40:02.744074
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/39/image_15042025_19_39_01_3794.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/39/image_15042025_19_39_01_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/39/image_15042025_19_39_01_3794.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975956"],"photo_id":"1349975956","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1da6a1f6b9e96d0432d4bb55b63c86af.jpg","text":"TemporaryFile(/tmp/multipartBody814891377834763359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738863475,"filename":"image_15042025_19_39_01_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349975956"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349975956"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.515355587005615 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:41:03.330832
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_01_6662.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_01_6662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_01_6662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349976315"],"photo_id":"1349976315","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ac32ec98f34c5e352d684c2578bcbbd.jpg","text":"TemporaryFile(/tmp/multipartBody9177201173745151065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738924086,"filename":"image_15042025_19_40_01_6662.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349976315"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349976315"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.352711200714111 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:42:02.560275
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_01_3578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_01_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_01_3578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349976495"],"photo_id":"1349976495","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca5ee196a1fbc7910ef063a3a8983320.jpg","text":"TemporaryFile(/tmp/multipartBody6588820554091428192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738983264,"filename":"image_15042025_19_41_01_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349976495"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349976495"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.66655731201172 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:43:03.396833
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_01_6600.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_01_6600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_01_6600.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349977126"],"photo_id":"1349977126","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12d1b0e5e342f3128d229806cb2b3f85.jpg","text":"TemporaryFile(/tmp/multipartBody7828808015919771209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739044155,"filename":"image_15042025_19_42_01_6600.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349977126"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349977126"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.055264949798584 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:44:03.537857
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_01_2520.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_01_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_01_2520.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349977434"],"photo_id":"1349977434","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a692727fa361fa439c73e4821ee7883.jpg","text":"TemporaryFile(/tmp/multipartBody6926403532822706095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739104290,"filename":"image_15042025_19_43_01_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349977434"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349977434"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.91939663887024 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:45:03.325155
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_01_5396.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_01_5396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_01_5396.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978079"],"photo_id":"1349978079","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/793aa40538f2e35fd6a5630566f5892f.jpg","text":"TemporaryFile(/tmp/multipartBody6038057175242760295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739164110,"filename":"image_15042025_19_44_01_5396.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349978079"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349978079"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.345349788665771 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:46:02.641427
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_02_2101.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_02_2101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_02_2101.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978677"],"photo_id":"1349978677","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fb2790432733ca13b8372bdf715c2c0.jpg","text":"TemporaryFile(/tmp/multipartBody1367610227403982904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223387,"filename":"image_15042025_19_45_02_2101.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349978677"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349978677"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.502873182296753 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:47:03.204286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_01_7246.jpg', 2), ('/home/pi/Desktop/images/14042025/17/19/image_14042025_17_19_01_7252.jpg', 2), ('/home/pi/Desktop/images/14042025/17/18/image_14042025_17_18_02_1626.jpg', 2), ('/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_01_9912.jpg', 2), ('/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_01_4591.jpg', 2), ('/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_02_1386.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_01_7246.jpg', '/home/pi/Desktop/images/14042025/17/19/image_14042025_17_19_01_7252.jpg', '/home/pi/Desktop/images/14042025/17/18/image_14042025_17_18_02_1626.jpg', '/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_01_9912.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_01_4591.jpg', '/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_02_1386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_01_7246.jpg
/home/pi/Desktop/images/14042025/17/19/image_14042025_17_19_01_7252.jpg
/home/pi/Desktop/images/14042025/17/18/image_14042025_17_18_02_1626.jpg
/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_01_9912.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_01_4591.jpg
/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_02_1386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978981","1349978926","1349979103","1349979033","1349979131","1349978867"],"photo_ids_order":["1349978867","1349978926","1349978981","1349979033","1349979103","1349979131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71aeafa7446819eb9588253f9ed89a90.jpg","text":"TemporaryFile(/tmp/multipartBody2273373876411364372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739288080,"filename":"image_14042025_17_18_02_1626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fef6dc16fb407be53a5aab4cf3b50c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6193242807242004464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739288080,"filename":"image_14042025_17_19_01_7252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc5b6c1aea4dddd745d6ffac9f0c615c.jpg","text":"TemporaryFile(/tmp/multipartBody712788129793182358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739288080,"filename":"image_14042025_17_16_01_4591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/483afb5c76e5c4d199eddcd69e3907b1.jpg","text":"TemporaryFile(/tmp/multipartBody6512115687440152815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739288080,"filename":"image_14042025_17_17_01_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0aa4ff027ee6f9c242748c76c95b7d97.jpg","text":"TemporaryFile(/tmp/multipartBody5619977753999312347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739288080,"filename":"image_14042025_17_15_02_1386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30c7a80ef23cf0b7796f802ee352ea00.jpg","text":"TemporaryFile(/tmp/multipartBody873853704809561652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739288080,"filename":"image_14042025_17_20_01_7246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349978981","file1":"1349978926","file0":"1349978867","file4":"1349979103","file5":"1349979131","file3":"1349979033"},"map_files_photo_id_array":[{"photo_id":"1349979131","filename":"file5"},{"photo_id":"1349978981","filename":"file2"},{"photo_id":"1349979103","filename":"file4"},{"photo_id":"1349978926","filename":"file1"},{"photo_id":"1349978867","filename":"file0"},{"photo_id":"1349979033","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349978981":["hashtag1","hashtag2"]},{"1349978926":["hashtag1","hashtag2"]},{"1349979103":["hashtag1","hashtag2"]},{"1349979033":["hashtag1","hashtag2"]},{"1349979131":["hashtag1","hashtag2"]},{"1349978867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349978981, 1349978926, 1349979103, 1349979033, 1349979131, 1349978867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.99703216552734 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:49:03.313823
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_01_4510.jpg', 2), ('/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_01_5352.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_01_4510.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_01_5352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_01_4510.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_01_5352.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979364","1349979350"],"photo_ids_order":["1349979350","1349979364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28811df47d3d952f5fabe72480ecb839.jpg","text":"TemporaryFile(/tmp/multipartBody2466249346961200072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739404554,"filename":"image_15042025_19_46_01_5352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e325739282c9bb442a79dc05142d83f4.jpg","text":"TemporaryFile(/tmp/multipartBody4629508893061914013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739404554,"filename":"image_15042025_19_48_01_4510.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349979364","file0":"1349979350"},"map_files_photo_id_array":[{"photo_id":"1349979364","filename":"file1"},{"photo_id":"1349979350","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349979364":["hashtag1","hashtag2"]},{"1349979350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349979364, 1349979350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.108882665634155 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:50:03.458255
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_01_4129.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_01_4129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_01_4129.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979751"],"photo_id":"1349979751","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f2301dfe87519596296400204ccf261.jpg","text":"TemporaryFile(/tmp/multipartBody3344946353354700204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739464173,"filename":"image_15042025_19_49_01_4129.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349979751"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349979751"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.167553186416626 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:51:03.207339
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_01_4579.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_01_4579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_01_4579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979828"],"photo_id":"1349979828","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4974858657c197839659b5da770632a.jpg","text":"TemporaryFile(/tmp/multipartBody7769036300930649348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523980,"filename":"image_15042025_19_50_01_4579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349979828"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349979828"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.233547687530518 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:52:03.300787
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_01_9050.jpg', 2), ('/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_02_2013.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_02_2013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_02_2013.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980237"],"photo_id":"1349980237","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef0b4daef3618a1ca7f9e6a8513a8114.jpg","text":"TemporaryFile(/tmp/multipartBody8918354986047521827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739584427,"filename":"image_15042025_19_51_02_2013.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349980237"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349980237"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.340784788131714 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_01_9050.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:53:04.023192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_01_5178.jpg', 2), ('/home/pi/Desktop/images/14042025/17/13/image_14042025_17_13_01_4317.jpg', 2), ('/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_01_4536.jpg', 2), ('/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_01_3107.jpg', 2), ('/home/pi/Desktop/images/14042025/17/10/image_14042025_17_10_01_8927.jpg', 2), ('/home/pi/Desktop/images/14042025/17/09/image_14042025_17_09_01_2768.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_01_5178.jpg', '/home/pi/Desktop/images/14042025/17/13/image_14042025_17_13_01_4317.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_01_4536.jpg', '/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_01_3107.jpg', '/home/pi/Desktop/images/14042025/17/10/image_14042025_17_10_01_8927.jpg', '/home/pi/Desktop/images/14042025/17/09/image_14042025_17_09_01_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_01_5178.jpg
/home/pi/Desktop/images/14042025/17/13/image_14042025_17_13_01_4317.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_01_4536.jpg
/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_01_3107.jpg
/home/pi/Desktop/images/14042025/17/10/image_14042025_17_10_01_8927.jpg
/home/pi/Desktop/images/14042025/17/09/image_14042025_17_09_01_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980421","1349980424","1349980433","1349980409","1349980441","1349980392"],"photo_ids_order":["1349980392","1349980409","1349980421","1349980424","1349980433","1349980441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01ef79ee9b2c7b512383d56baa3f32dd.jpg","text":"TemporaryFile(/tmp/multipartBody5550811207699791593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739648877,"filename":"image_14042025_17_12_01_4536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64d7c4d8ff1ea3ed9c830a3aa544b9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2721473161172776547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739648877,"filename":"image_14042025_17_11_01_3107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8dbe2e5d83b5fb866356b92e69d6e62.jpg","text":"TemporaryFile(/tmp/multipartBody6390632327439994598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739648877,"filename":"image_14042025_17_10_01_8927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/793187769a8c09423b3201e82d0a8aae.jpg","text":"TemporaryFile(/tmp/multipartBody7038534199379247237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739648877,"filename":"image_14042025_17_13_01_4317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e017cc571e6e16ed9e818c479a58916.jpg","text":"TemporaryFile(/tmp/multipartBody1634549174786111754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739648877,"filename":"image_14042025_17_09_01_2768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/211261051090ba62d97d5f556343837b.jpg","text":"TemporaryFile(/tmp/multipartBody5657809642686269772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739648877,"filename":"image_14042025_17_14_01_5178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980421","file1":"1349980409","file0":"1349980392","file4":"1349980433","file5":"1349980441","file3":"1349980424"},"map_files_photo_id_array":[{"photo_id":"1349980441","filename":"file5"},{"photo_id":"1349980421","filename":"file2"},{"photo_id":"1349980433","filename":"file4"},{"photo_id":"1349980409","filename":"file1"},{"photo_id":"1349980392","filename":"file0"},{"photo_id":"1349980424","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349980421":["hashtag1","hashtag2"]},{"1349980424":["hashtag1","hashtag2"]},{"1349980433":["hashtag1","hashtag2"]},{"1349980409":["hashtag1","hashtag2"]},{"1349980441":["hashtag1","hashtag2"]},{"1349980392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349980421, 1349980424, 1349980433, 1349980409, 1349980441, 1349980392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.10327219963074 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:55:03.360160
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_01_5478.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_01_5478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_01_5478.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980782"],"photo_id":"1349980782","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06aabef7c33933a5e64e12b434fb40f1.jpg","text":"TemporaryFile(/tmp/multipartBody5432061820389136144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764144,"filename":"image_15042025_19_52_01_5478.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349980782"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349980782"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.334003210067749 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:56:02.809083
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_02_1016.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_02_1016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_02_1016.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981151"],"photo_id":"1349981151","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1dc792104a84a1a0c97213dc5781de36.jpg","text":"TemporaryFile(/tmp/multipartBody8204322473818457240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739823531,"filename":"image_15042025_19_54_02_1016.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349981151"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349981151"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.561927795410156 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:57:03.786098
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_01_5717.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_01_5717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_01_5717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981225"],"photo_id":"1349981225","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6190bf2052ecb997fef43ce785d742bd.jpg","text":"TemporaryFile(/tmp/multipartBody1803240330333380822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739884601,"filename":"image_15042025_19_56_01_5717.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349981225"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349981225"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.658982515335083 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 19:59:03.600719
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_01_8301.jpg', 2), ('/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_01_4532.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_01_8301.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_01_4532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_01_8301.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_01_4532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981707","1349981585"],"photo_ids_order":["1349981585","1349981707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8da28c4fd6bd69da47a3e6f1100e367d.jpg","text":"TemporaryFile(/tmp/multipartBody1915058586220185293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004893,"filename":"image_15042025_19_57_01_4532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf04cef1cfbc69831e38fbf0752d2317.jpg","text":"TemporaryFile(/tmp/multipartBody3575189700377041608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004893,"filename":"image_15042025_19_58_01_8301.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349981707","file0":"1349981585"},"map_files_photo_id_array":[{"photo_id":"1349981707","filename":"file1"},{"photo_id":"1349981585","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349981707":["hashtag1","hashtag2"]},{"1349981585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349981707, 1349981585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 33.79467248916626 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:00:03.001503
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_01_4881.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_01_4881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_01_4881.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349982317"],"photo_id":"1349982317","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/873b39587bbff2842a1be618129cb280.jpg","text":"TemporaryFile(/tmp/multipartBody7050711717417091457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063722,"filename":"image_15042025_19_59_01_4881.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349982317"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349982317"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.438120365142822 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:01:03.726809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_01_9850.jpg', 2), ('/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_01_8601.jpg', 2), ('/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_01_3115.jpg', 2), ('/home/pi/Desktop/images/14042025/17/05/image_14042025_17_05_01_2272.jpg', 2), ('/home/pi/Desktop/images/14042025/17/02/image_14042025_17_02_02_0902.jpg', 2), ('/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_01_6639.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_01_9850.jpg', '/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_01_8601.jpg', '/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_01_3115.jpg', '/home/pi/Desktop/images/14042025/17/05/image_14042025_17_05_01_2272.jpg', '/home/pi/Desktop/images/14042025/17/02/image_14042025_17_02_02_0902.jpg', '/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_01_6639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_01_9850.jpg
/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_01_8601.jpg
/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_01_3115.jpg
/home/pi/Desktop/images/14042025/17/05/image_14042025_17_05_01_2272.jpg
/home/pi/Desktop/images/14042025/17/02/image_14042025_17_02_02_0902.jpg
/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_01_6639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349983113","1349983286","1349983175","1349983343","1349983232","1349983055"],"photo_ids_order":["1349983055","1349983113","1349983175","1349983232","1349983286","1349983343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b72dbfa5ecc62c1e0b115eaa58ecedee.jpg","text":"TemporaryFile(/tmp/multipartBody1090182101534450857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740128457,"filename":"image_14042025_17_07_01_8601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22d2460b7b737334be497379dd873e69.jpg","text":"TemporaryFile(/tmp/multipartBody2500493687996888563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740128457,"filename":"image_14042025_17_02_02_0902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d89be03b535f4f2659875212f0b2b904.jpg","text":"TemporaryFile(/tmp/multipartBody7236231982178865381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740128457,"filename":"image_14042025_17_06_01_3115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d1b37da24a2d5ffa59c559a8e182d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2895707045172833548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740128457,"filename":"image_14042025_17_01_01_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6863946b6597865883e5500b4d04a9fc.jpg","text":"TemporaryFile(/tmp/multipartBody2197934811673347938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740128457,"filename":"image_14042025_17_05_01_2272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bf82e9963aa2a5645c91f8e480460ac.jpg","text":"TemporaryFile(/tmp/multipartBody7106307018642203223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740128457,"filename":"image_14042025_17_08_01_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349983175","file1":"1349983113","file0":"1349983055","file4":"1349983286","file5":"1349983343","file3":"1349983232"},"map_files_photo_id_array":[{"photo_id":"1349983343","filename":"file5"},{"photo_id":"1349983175","filename":"file2"},{"photo_id":"1349983286","filename":"file4"},{"photo_id":"1349983113","filename":"file1"},{"photo_id":"1349983055","filename":"file0"},{"photo_id":"1349983232","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349983113":["hashtag1","hashtag2"]},{"1349983286":["hashtag1","hashtag2"]},{"1349983175":["hashtag1","hashtag2"]},{"1349983343":["hashtag1","hashtag2"]},{"1349983232":["hashtag1","hashtag2"]},{"1349983055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349983113, 1349983286, 1349983175, 1349983343, 1349983232, 1349983055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.181044578552246 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:03:03.405781
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_01_9569.jpg', 2), ('/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_01_9822.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_01_9569.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_01_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_01_9569.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_01_9822.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349983889","1349983996"],"photo_ids_order":["1349983889","1349983996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8929104776a5fb84820c2d8d639a7270.jpg","text":"TemporaryFile(/tmp/multipartBody6444545701223003234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740244542,"filename":"image_15042025_20_02_01_9569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fddf31c120fa0a553d013245300e0308.jpg","text":"TemporaryFile(/tmp/multipartBody5819024020799392615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740244542,"filename":"image_15042025_20_00_01_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349983996","file0":"1349983889"},"map_files_photo_id_array":[{"photo_id":"1349983996","filename":"file1"},{"photo_id":"1349983889","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349983889":["hashtag1","hashtag2"]},{"1349983996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349983889, 1349983996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.890477657318115 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:04:02.598095
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_01_6084.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_01_6084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_01_6084.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984264"],"photo_id":"1349984264","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15e9c4cb7a0e533897701ecd68c6a4f9.jpg","text":"TemporaryFile(/tmp/multipartBody1233604102710528394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303343,"filename":"image_15042025_20_03_01_6084.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349984264"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349984264"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.146074771881104 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:05:03.396007
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_01_8472.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_01_8472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_01_8472.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984357"],"photo_id":"1349984357","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d78b20d60a4e49645021aa51a19b23e.jpg","text":"TemporaryFile(/tmp/multipartBody824769957737812665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740364155,"filename":"image_15042025_20_04_01_8472.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349984357"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349984357"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.44024419784546 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:06:02.898891
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_01_1971.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_01_1971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_01_1971.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984426"],"photo_id":"1349984426","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8e32073c5aefd1121bc97c3885623c2.jpg","text":"TemporaryFile(/tmp/multipartBody5995441124295366967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740423661,"filename":"image_15042025_20_05_01_1971.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349984426"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349984426"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.960103511810303 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:07:03.585295
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_01_6072.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_01_6072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_01_6072.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984540"],"photo_id":"1349984540","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/159990c18ff2ba87efd1b4228ce53db6.jpg","text":"TemporaryFile(/tmp/multipartBody7088768581936953576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740484367,"filename":"image_15042025_20_06_01_6072.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349984540"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349984540"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.9761061668396 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:08:02.738217
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_01_5308.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_01_5308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_01_5308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984628"],"photo_id":"1349984628","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ec608e1e64796d2dda71b1e7f1b09f1.jpg","text":"TemporaryFile(/tmp/multipartBody8395126648299859192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740543741,"filename":"image_15042025_20_07_01_5308.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349984628"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349984628"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.492620468139648 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:09:03.061506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_01_7873.jpg', 2), ('/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_01_5479.jpg', 2), ('/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_01_3523.jpg', 2), ('/home/pi/Desktop/images/14042025/16/57/image_14042025_16_57_02_0680.jpg', 2), ('/home/pi/Desktop/images/14042025/16/56/image_14042025_16_56_01_6499.jpg', 2), ('/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_01_5976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_01_7873.jpg', '/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_01_5479.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_01_3523.jpg', '/home/pi/Desktop/images/14042025/16/57/image_14042025_16_57_02_0680.jpg', '/home/pi/Desktop/images/14042025/16/56/image_14042025_16_56_01_6499.jpg', '/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_01_5976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_01_7873.jpg
/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_01_5479.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_01_3523.jpg
/home/pi/Desktop/images/14042025/16/57/image_14042025_16_57_02_0680.jpg
/home/pi/Desktop/images/14042025/16/56/image_14042025_16_56_01_6499.jpg
/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_01_5976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984974","1349985066","1349984914","1349985036","1349985123","1349984856"],"photo_ids_order":["1349984856","1349984914","1349984974","1349985036","1349985066","1349985123"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9adf2d5abc61036f3e77857d6a9d6f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6765740882472280552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740607572,"filename":"image_14042025_16_58_01_3523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07567655849919809aa00ca110ac87a0.jpg","text":"TemporaryFile(/tmp/multipartBody2576442963567954426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740607572,"filename":"image_14042025_16_56_01_6499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1cb4e85f5350f81740bfdaf6e9e58041.jpg","text":"TemporaryFile(/tmp/multipartBody2671803913193761379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740607572,"filename":"image_14042025_16_59_01_5479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7693f6a60c43f663b9480d29f5a36f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5074987473772638962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740607572,"filename":"image_14042025_16_57_02_0680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/508c97c74cdd5c7941d66363ddbbeb1b.jpg","text":"TemporaryFile(/tmp/multipartBody8532968241163118895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740607572,"filename":"image_14042025_16_55_01_5976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a56d43d0e0c969c6c8794b80c56afedd.jpg","text":"TemporaryFile(/tmp/multipartBody4139978151105272565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740607572,"filename":"image_14042025_17_00_01_7873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984974","file1":"1349984914","file0":"1349984856","file4":"1349985066","file5":"1349985123","file3":"1349985036"},"map_files_photo_id_array":[{"photo_id":"1349985123","filename":"file5"},{"photo_id":"1349984974","filename":"file2"},{"photo_id":"1349985066","filename":"file4"},{"photo_id":"1349984914","filename":"file1"},{"photo_id":"1349984856","filename":"file0"},{"photo_id":"1349985036","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349984974":["hashtag1","hashtag2"]},{"1349985066":["hashtag1","hashtag2"]},{"1349984914":["hashtag1","hashtag2"]},{"1349985036":["hashtag1","hashtag2"]},{"1349985123":["hashtag1","hashtag2"]},{"1349984856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349984974, 1349985066, 1349984914, 1349985036, 1349985123, 1349984856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.43313717842102 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:11:03.140888
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_01_9203.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_01_9203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_01_9203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985368"],"photo_id":"1349985368","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b5f7a402e2c3168c385a38a94ee4cc2.jpg","text":"TemporaryFile(/tmp/multipartBody3074656756359850690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723975,"filename":"image_15042025_20_08_01_9203.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349985368"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349985368"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.960683822631836 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:12:03.266813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_01_7023.jpg', 2), ('/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_01_5592.jpg', 2), ('/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_02_0961.jpg', 2), ('/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_01_7364.jpg', 2), ('/home/pi/Desktop/images/14042025/16/50/image_14042025_16_50_01_2314.jpg', 2), ('/home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_01_6459.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_01_7023.jpg', '/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_01_5592.jpg', '/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_02_0961.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_01_7364.jpg', '/home/pi/Desktop/images/14042025/16/50/image_14042025_16_50_01_2314.jpg', '/home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_01_6459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_01_7023.jpg
/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_01_5592.jpg
/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_02_0961.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_01_7364.jpg
/home/pi/Desktop/images/14042025/16/50/image_14042025_16_50_01_2314.jpg
/home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_01_6459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985600","1349985521","1349985719","1349985775","1349985658","1349985537"],"photo_ids_order":["1349985521","1349985537","1349985600","1349985658","1349985719","1349985775"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/939c52059c2e862dd968c5ea7bd5e782.jpg","text":"TemporaryFile(/tmp/multipartBody1117079622448758926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740787726,"filename":"image_14042025_16_52_02_0961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21957dcee8f953dd8cdbf2f76ae7113a.jpg","text":"TemporaryFile(/tmp/multipartBody3332100761500645204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740787726,"filename":"image_14042025_16_54_01_7023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d098f3992d13429ca6fa6e2d410dd4f.jpg","text":"TemporaryFile(/tmp/multipartBody2304918078208407989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740787726,"filename":"image_14042025_16_50_01_2314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6d84290b5927c50fe14f01d87bbc43d.jpg","text":"TemporaryFile(/tmp/multipartBody8539621335902162347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740787726,"filename":"image_14042025_16_49_01_6459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9702b77302c9261d03af0677aba40229.jpg","text":"TemporaryFile(/tmp/multipartBody5716112337220952389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740787726,"filename":"image_14042025_16_51_01_7364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6013620648704589412fc4bc603d5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6965906417210874727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740787726,"filename":"image_14042025_16_53_01_5592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985600","file1":"1349985537","file0":"1349985521","file4":"1349985719","file5":"1349985775","file3":"1349985658"},"map_files_photo_id_array":[{"photo_id":"1349985775","filename":"file5"},{"photo_id":"1349985600","filename":"file2"},{"photo_id":"1349985719","filename":"file4"},{"photo_id":"1349985537","filename":"file1"},{"photo_id":"1349985521","filename":"file0"},{"photo_id":"1349985658","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349985600":["hashtag1","hashtag2"]},{"1349985521":["hashtag1","hashtag2"]},{"1349985719":["hashtag1","hashtag2"]},{"1349985775":["hashtag1","hashtag2"]},{"1349985658":["hashtag1","hashtag2"]},{"1349985537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349985600, 1349985521, 1349985719, 1349985775, 1349985658, 1349985537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.05011868476868 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:14:03.363533
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/10/image_15042025_20_10_01_2376.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/10/image_15042025_20_10_01_2376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/10/image_15042025_20_10_01_2376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349986082"],"photo_id":"1349986082","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/857a1ed0ee2d4cbab118448ee0d0550f.jpg","text":"TemporaryFile(/tmp/multipartBody8326999212704993303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740904117,"filename":"image_15042025_20_10_01_2376.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349986082"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349986082"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.664727210998535 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:15:02.998543
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/13/image_15042025_20_13_01_9530.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/13/image_15042025_20_13_01_9530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/13/image_15042025_20_13_01_9530.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349986520"],"photo_id":"1349986520","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c14681041a9f15575fd90bd56a7a266.jpg","text":"TemporaryFile(/tmp/multipartBody3031340790794152059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740963842,"filename":"image_15042025_20_13_01_9530.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349986520"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349986520"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.67548680305481 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:16:03.547759
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/15/image_15042025_20_15_02_0229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/15/image_15042025_20_15_02_0229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/15/image_15042025_20_15_02_0229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349987271"],"photo_id":"1349987271","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ead8856922898f11f91086888043d52.jpg","text":"TemporaryFile(/tmp/multipartBody7066735175795555750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741024323,"filename":"image_15042025_20_15_02_0229.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349987271"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349987271"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.152530193328857 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:17:03.150813
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/16/image_15042025_20_16_01_3230.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/16/image_15042025_20_16_01_3230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/16/image_15042025_20_16_01_3230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349988047"],"photo_id":"1349988047","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f41b77952e781f128b0097e8cc5ba6e3.jpg","text":"TemporaryFile(/tmp/multipartBody8743480688570897236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741083941,"filename":"image_15042025_20_16_01_3230.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349988047"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349988047"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.054970026016235 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:18:03.476570
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/17/image_15042025_20_17_02_2879.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/17/image_15042025_20_17_02_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/17/image_15042025_20_17_02_2879.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349988705"],"photo_id":"1349988705","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e9b113af0f118e67785016551337fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5081373376428961533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741144180,"filename":"image_15042025_20_17_02_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349988705"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349988705"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.637874364852905 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:19:03.264993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/47/image_14042025_16_47_02_0091.jpg', 2), ('/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_01_2848.jpg', 2), ('/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_01_7573.jpg', 2), ('/home/pi/Desktop/images/14042025/16/44/image_14042025_16_44_02_2838.jpg', 2), ('/home/pi/Desktop/images/14042025/16/43/image_14042025_16_43_02_1867.jpg', 2), ('/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_01_6367.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/47/image_14042025_16_47_02_0091.jpg', '/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_01_2848.jpg', '/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_01_7573.jpg', '/home/pi/Desktop/images/14042025/16/44/image_14042025_16_44_02_2838.jpg', '/home/pi/Desktop/images/14042025/16/43/image_14042025_16_43_02_1867.jpg', '/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_01_6367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/47/image_14042025_16_47_02_0091.jpg
/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_01_2848.jpg
/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_01_7573.jpg
/home/pi/Desktop/images/14042025/16/44/image_14042025_16_44_02_2838.jpg
/home/pi/Desktop/images/14042025/16/43/image_14042025_16_43_02_1867.jpg
/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_01_6367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349989593","1349989467","1349989242","1349989577","1349989355","1349989543"],"photo_ids_order":["1349989242","1349989355","1349989467","1349989543","1349989577","1349989593"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7c4e00d713412293380f0b70a8a1684.jpg","text":"TemporaryFile(/tmp/multipartBody683897142442558061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741208054,"filename":"image_14042025_16_42_01_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce5c8189d696a519b3de17351e4e1b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1420436402096507984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741208054,"filename":"image_14042025_16_45_01_7573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1a9efbd90cd083179a3cf5815caaeab.jpg","text":"TemporaryFile(/tmp/multipartBody336442886933860668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741208054,"filename":"image_14042025_16_47_02_0091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df245e83abbb8a018a334a5749f4de6f.jpg","text":"TemporaryFile(/tmp/multipartBody754219965955506867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741208054,"filename":"image_14042025_16_43_02_1867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e28d993459dcd889b49c672f2399487.jpg","text":"TemporaryFile(/tmp/multipartBody4848755529822754231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741208054,"filename":"image_14042025_16_46_01_2848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b84dc5089f569aef1a0a676bb4d9a5df.jpg","text":"TemporaryFile(/tmp/multipartBody3976428911213019711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741208054,"filename":"image_14042025_16_44_02_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349989467","file1":"1349989355","file0":"1349989242","file4":"1349989577","file5":"1349989593","file3":"1349989543"},"map_files_photo_id_array":[{"photo_id":"1349989593","filename":"file5"},{"photo_id":"1349989467","filename":"file2"},{"photo_id":"1349989577","filename":"file4"},{"photo_id":"1349989355","filename":"file1"},{"photo_id":"1349989242","filename":"file0"},{"photo_id":"1349989543","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349989593":["hashtag1","hashtag2"]},{"1349989467":["hashtag1","hashtag2"]},{"1349989242":["hashtag1","hashtag2"]},{"1349989577":["hashtag1","hashtag2"]},{"1349989355":["hashtag1","hashtag2"]},{"1349989543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349989593, 1349989467, 1349989242, 1349989577, 1349989355, 1349989543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.24322843551636 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:21:04.007292
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/20/image_15042025_20_20_01_4775.jpg', 2), ('/home/pi/Desktop/images/15042025/20/18/image_15042025_20_18_01_4285.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/20/image_15042025_20_20_01_4775.jpg', '/home/pi/Desktop/images/15042025/20/18/image_15042025_20_18_01_4285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/20/image_15042025_20_20_01_4775.jpg
/home/pi/Desktop/images/15042025/20/18/image_15042025_20_18_01_4285.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990080","1349990186"],"photo_ids_order":["1349990080","1349990186"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad20ed15c162efa1450f4506889deba9.jpg","text":"TemporaryFile(/tmp/multipartBody1563198881088708443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741325227,"filename":"image_15042025_20_20_01_4775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b5020ab2fb80d9d3afdd9cdc67ac3a8.jpg","text":"TemporaryFile(/tmp/multipartBody5008738741361083456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741325227,"filename":"image_15042025_20_18_01_4285.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349990186","file0":"1349990080"},"map_files_photo_id_array":[{"photo_id":"1349990186","filename":"file1"},{"photo_id":"1349990080","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349990080":["hashtag1","hashtag2"]},{"1349990186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349990080, 1349990186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.695212841033936 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:22:03.346313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_01_5369.jpg', 2), ('/home/pi/Desktop/images/14042025/16/39/image_14042025_16_39_01_9268.jpg', 2), ('/home/pi/Desktop/images/14042025/16/38/image_14042025_16_38_01_9720.jpg', 2), ('/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_01_7621.jpg', 2), ('/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_01_9141.jpg', 2), ('/home/pi/Desktop/images/14042025/16/35/image_14042025_16_35_01_9040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_01_5369.jpg', '/home/pi/Desktop/images/14042025/16/39/image_14042025_16_39_01_9268.jpg', '/home/pi/Desktop/images/14042025/16/38/image_14042025_16_38_01_9720.jpg', '/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_01_7621.jpg', '/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_01_9141.jpg', '/home/pi/Desktop/images/14042025/16/35/image_14042025_16_35_01_9040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_01_5369.jpg
/home/pi/Desktop/images/14042025/16/39/image_14042025_16_39_01_9268.jpg
/home/pi/Desktop/images/14042025/16/38/image_14042025_16_38_01_9720.jpg
/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_01_7621.jpg
/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_01_9141.jpg
/home/pi/Desktop/images/14042025/16/35/image_14042025_16_35_01_9040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990416","1349990489","1349990406","1349990438","1349990534","1349990603"],"photo_ids_order":["1349990406","1349990416","1349990438","1349990489","1349990534","1349990603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6db1c7de157101c68e5e301b122a4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6773670862638134273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741387677,"filename":"image_14042025_16_39_01_9268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e7791ada8a2d44c789aeabaaa4b1f18.jpg","text":"TemporaryFile(/tmp/multipartBody8413785184733695351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741387677,"filename":"image_14042025_16_37_01_7621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80ae3175f6616585e0770a838d31a62a.jpg","text":"TemporaryFile(/tmp/multipartBody9048214876129336884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741387677,"filename":"image_14042025_16_41_01_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71bb84f1db34026761b86932101999bc.jpg","text":"TemporaryFile(/tmp/multipartBody5724478131623445237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741387677,"filename":"image_14042025_16_38_01_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e9df7da5ed08c74dd6bd228325b548c.jpg","text":"TemporaryFile(/tmp/multipartBody934169138804723943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741387677,"filename":"image_14042025_16_36_01_9141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9123c271830cabcf2063d24ecd396963.jpg","text":"TemporaryFile(/tmp/multipartBody7984664895411617984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741387677,"filename":"image_14042025_16_35_01_9040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349990438","file1":"1349990416","file0":"1349990406","file4":"1349990534","file5":"1349990603","file3":"1349990489"},"map_files_photo_id_array":[{"photo_id":"1349990603","filename":"file5"},{"photo_id":"1349990438","filename":"file2"},{"photo_id":"1349990534","filename":"file4"},{"photo_id":"1349990416","filename":"file1"},{"photo_id":"1349990406","filename":"file0"},{"photo_id":"1349990489","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349990416":["hashtag1","hashtag2"]},{"1349990489":["hashtag1","hashtag2"]},{"1349990406":["hashtag1","hashtag2"]},{"1349990438":["hashtag1","hashtag2"]},{"1349990534":["hashtag1","hashtag2"]},{"1349990603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349990416, 1349990489, 1349990406, 1349990438, 1349990534, 1349990603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.0848970413208 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:24:03.148541
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/23/image_15042025_20_23_01_9698.jpg', 2), ('/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_02_1708.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/23/image_15042025_20_23_01_9698.jpg', '/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_02_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/23/image_15042025_20_23_01_9698.jpg
/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_02_1708.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.104987382888794 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:25:07.257451
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_02_1740.jpg', 2), ('/home/pi/Desktop/images/15042025/20/23/image_15042025_20_23_01_9698.jpg', 2), ('/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_02_1708.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_02_1740.jpg', '/home/pi/Desktop/images/15042025/20/23/image_15042025_20_23_01_9698.jpg', '/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_02_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_02_1740.jpg
/home/pi/Desktop/images/15042025/20/23/image_15042025_20_23_01_9698.jpg
/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_02_1708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349991383","1349991436","1349991322"],"photo_ids_order":["1349991322","1349991383","1349991436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6795c5b72670dfd670ac548599894a95.jpg","text":"TemporaryFile(/tmp/multipartBody3001045759354314876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741571424,"filename":"image_15042025_20_23_01_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd660dfbf1186e3c6921262ef572e44c.jpg","text":"TemporaryFile(/tmp/multipartBody7829181564104154626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741571424,"filename":"image_15042025_20_21_02_1708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee42f913c72dbd8ac6f982fffcdb4f31.jpg","text":"TemporaryFile(/tmp/multipartBody3702410776064474793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741571424,"filename":"image_15042025_20_24_02_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349991436","file1":"1349991383","file0":"1349991322"},"map_files_photo_id_array":[{"photo_id":"1349991436","filename":"file2"},{"photo_id":"1349991383","filename":"file1"},{"photo_id":"1349991322","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349991383":["hashtag1","hashtag2"]},{"1349991436":["hashtag1","hashtag2"]},{"1349991322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349991383, 1349991436, 1349991322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.59054088592529 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:26:07.269644
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_01_5817.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_01_5817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_01_5817.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349991665"],"photo_id":"1349991665","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d3be8d05bd0d3380e9822dd3013fd12.jpg","text":"TemporaryFile(/tmp/multipartBody8956979480275959554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741628371,"filename":"image_15042025_20_25_01_5817.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349991665"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349991665"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.71351170539856 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:27:04.750082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_01_3910.jpg', 2), ('/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_02_0536.jpg', 2), ('/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_01_7319.jpg', 2), ('/home/pi/Desktop/images/14042025/16/31/image_14042025_16_31_01_5618.jpg', 2), ('/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_01_6876.jpg', 2), ('/home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_02_0588.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_01_3910.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_02_0536.jpg', '/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_01_7319.jpg', '/home/pi/Desktop/images/14042025/16/31/image_14042025_16_31_01_5618.jpg', '/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_01_6876.jpg', '/home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_02_0588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_01_3910.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_02_0536.jpg
/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_01_7319.jpg
/home/pi/Desktop/images/14042025/16/31/image_14042025_16_31_01_5618.jpg
/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_01_6876.jpg
/home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_02_0588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992131","1349992212","1349992203","1349992180","1349992060","1349992003"],"photo_ids_order":["1349992003","1349992060","1349992131","1349992180","1349992203","1349992212"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50757ad339e52eefdd1aa49a6719c79a.jpg","text":"TemporaryFile(/tmp/multipartBody8584272879417752550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741689759,"filename":"image_14042025_16_32_01_7319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31ea10a4413a2d17ea441208794564bb.jpg","text":"TemporaryFile(/tmp/multipartBody4186511559806624117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741689759,"filename":"image_14042025_16_28_02_0588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/199ccc380ce226316a63336072987c81.jpg","text":"TemporaryFile(/tmp/multipartBody1701156602965971113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741689759,"filename":"image_14042025_16_29_01_6876.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/400b7f85659150d59bd341b5eaaeac1d.jpg","text":"TemporaryFile(/tmp/multipartBody2717461868355548329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741689759,"filename":"image_14042025_16_31_01_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6f694dfbbaab9e3b1195c0251479f89.jpg","text":"TemporaryFile(/tmp/multipartBody8894254037650843186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741689759,"filename":"image_14042025_16_33_02_0536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bee6c2e355023d76dbf65d191a677da2.jpg","text":"TemporaryFile(/tmp/multipartBody5030059918078635132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741689759,"filename":"image_14042025_16_34_01_3910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992131","file1":"1349992060","file0":"1349992003","file4":"1349992203","file5":"1349992212","file3":"1349992180"},"map_files_photo_id_array":[{"photo_id":"1349992212","filename":"file5"},{"photo_id":"1349992131","filename":"file2"},{"photo_id":"1349992203","filename":"file4"},{"photo_id":"1349992060","filename":"file1"},{"photo_id":"1349992003","filename":"file0"},{"photo_id":"1349992180","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349992131":["hashtag1","hashtag2"]},{"1349992212":["hashtag1","hashtag2"]},{"1349992203":["hashtag1","hashtag2"]},{"1349992180":["hashtag1","hashtag2"]},{"1349992060":["hashtag1","hashtag2"]},{"1349992003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349992131, 1349992212, 1349992203, 1349992180, 1349992060, 1349992003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.5712308883667 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:29:03.476011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/27/image_14042025_16_27_00_8635.jpg', 2), ('/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_01_7828.jpg', 2), ('/home/pi/Desktop/images/14042025/16/25/image_14042025_16_25_02_1522.jpg', 2), ('/home/pi/Desktop/images/14042025/16/24/image_14042025_16_24_01_7476.jpg', 2), ('/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_01_3683.jpg', 2), ('/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_01_2210.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/27/image_14042025_16_27_00_8635.jpg', '/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_01_7828.jpg', '/home/pi/Desktop/images/14042025/16/25/image_14042025_16_25_02_1522.jpg', '/home/pi/Desktop/images/14042025/16/24/image_14042025_16_24_01_7476.jpg', '/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_01_3683.jpg', '/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_01_2210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/27/image_14042025_16_27_00_8635.jpg
/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_01_7828.jpg
/home/pi/Desktop/images/14042025/16/25/image_14042025_16_25_02_1522.jpg
/home/pi/Desktop/images/14042025/16/24/image_14042025_16_24_01_7476.jpg
/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_01_3683.jpg
/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_01_2210.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992710","1349992655","1349992508","1349992567","1349992774","1349992831"],"photo_ids_order":["1349992508","1349992567","1349992655","1349992710","1349992774","1349992831"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1311298171376f0df3fe3598e308a3c2.jpg","text":"TemporaryFile(/tmp/multipartBody2478403824640194388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741807825,"filename":"image_14042025_16_24_01_7476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d95df7a03255e20ef26a40a0c7fd1c5.jpg","text":"TemporaryFile(/tmp/multipartBody433885219658560680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741807825,"filename":"image_14042025_16_25_02_1522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3f2795b34dbc21ecf3d2396150777b7.jpg","text":"TemporaryFile(/tmp/multipartBody3555347084243987445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741807825,"filename":"image_14042025_16_27_00_8635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71a9e66ce0bfd94879d6a094fca3b0e8.jpg","text":"TemporaryFile(/tmp/multipartBody5759593721506194831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741807825,"filename":"image_14042025_16_26_01_7828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b71b8163f0f2ccedf3ad49384e98180.jpg","text":"TemporaryFile(/tmp/multipartBody5442814006760556558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741807825,"filename":"image_14042025_16_23_01_3683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28893d5abe7063bc7bd4e900befe1834.jpg","text":"TemporaryFile(/tmp/multipartBody2974417611608314372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741807825,"filename":"image_14042025_16_22_01_2210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992655","file1":"1349992567","file0":"1349992508","file4":"1349992774","file5":"1349992831","file3":"1349992710"},"map_files_photo_id_array":[{"photo_id":"1349992831","filename":"file5"},{"photo_id":"1349992655","filename":"file2"},{"photo_id":"1349992774","filename":"file4"},{"photo_id":"1349992567","filename":"file1"},{"photo_id":"1349992508","filename":"file0"},{"photo_id":"1349992710","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349992710":["hashtag1","hashtag2"]},{"1349992655":["hashtag1","hashtag2"]},{"1349992508":["hashtag1","hashtag2"]},{"1349992567":["hashtag1","hashtag2"]},{"1349992774":["hashtag1","hashtag2"]},{"1349992831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349992710, 1349992655, 1349992508, 1349992567, 1349992774, 1349992831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.95742273330688 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:31:03.720132
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/30/image_15042025_20_30_01_4780.jpg', 2), ('/home/pi/Desktop/images/15042025/20/29/image_15042025_20_29_01_3453.jpg', 2), ('/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_01_9509.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/30/image_15042025_20_30_01_4780.jpg', '/home/pi/Desktop/images/15042025/20/29/image_15042025_20_29_01_3453.jpg', '/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_01_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/30/image_15042025_20_30_01_4780.jpg
/home/pi/Desktop/images/15042025/20/29/image_15042025_20_29_01_3453.jpg
/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_01_9509.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349993458","1349993585","1349993502"],"photo_ids_order":["1349993458","1349993502","1349993585"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9407e85875b00f24dc0a6c4308a8e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody8472836305161862277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741925385,"filename":"image_15042025_20_30_01_4780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2871054a5c3ebd683a329a039808c23.jpg","text":"TemporaryFile(/tmp/multipartBody3651772450963672208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741925385,"filename":"image_15042025_20_26_01_9509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa6e66c87203b1a392dc87392515a9b4.jpg","text":"TemporaryFile(/tmp/multipartBody161557567679073313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741925385,"filename":"image_15042025_20_29_01_3453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349993585","file1":"1349993502","file0":"1349993458"},"map_files_photo_id_array":[{"photo_id":"1349993585","filename":"file2"},{"photo_id":"1349993502","filename":"file1"},{"photo_id":"1349993458","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349993458":["hashtag1","hashtag2"]},{"1349993585":["hashtag1","hashtag2"]},{"1349993502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349993458, 1349993585, 1349993502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.2038311958313 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:32:03.032808
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/31/image_15042025_20_31_01_7007.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/31/image_15042025_20_31_01_7007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/31/image_15042025_20_31_01_7007.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349994045"],"photo_id":"1349994045","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/904b802f18cd380d816297d267791ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2170556152212955042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741983734,"filename":"image_15042025_20_31_01_7007.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349994045"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349994045"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.48023533821106 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:33:03.774463
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/32/image_15042025_20_32_01_9033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/32/image_15042025_20_32_01_9033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/32/image_15042025_20_32_01_9033.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349994365"],"photo_id":"1349994365","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55eab460a4add13f8a17767a33150999.jpg","text":"TemporaryFile(/tmp/multipartBody7814929448330815310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742044574,"filename":"image_15042025_20_32_01_9033.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349994365"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349994365"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.896975994110107 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:34:03.086246
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/33/image_15042025_20_33_01_7491.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/33/image_15042025_20_33_01_7491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/33/image_15042025_20_33_01_7491.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349994739"],"photo_id":"1349994739","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11090354c34da8abab1da7473b3a3502.jpg","text":"TemporaryFile(/tmp/multipartBody5604198929874414338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742103974,"filename":"image_15042025_20_33_01_7491.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349994739"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349994739"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.816250562667847 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:35:03.959913
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/34/image_15042025_20_34_02_0672.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/34/image_15042025_20_34_02_0672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/34/image_15042025_20_34_02_0672.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349995120"],"photo_id":"1349995120","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2285a3fa12f2177b890db1f4a104e07b.jpg","text":"TemporaryFile(/tmp/multipartBody6158420539099385684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742164733,"filename":"image_15042025_20_34_02_0672.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349995120"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349995120"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.533693313598633 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:36:03.073599
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/35/image_15042025_20_35_01_8163.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/35/image_15042025_20_35_01_8163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/35/image_15042025_20_35_01_8163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349995681"],"photo_id":"1349995681","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5844ffb7a1323f48d880aa64fc10672.jpg","text":"TemporaryFile(/tmp/multipartBody2364919298391003753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742223839,"filename":"image_15042025_20_35_01_8163.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349995681"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349995681"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.409085273742676 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:37:03.940216
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/36/image_15042025_20_36_02_1701.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/36/image_15042025_20_36_02_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/36/image_15042025_20_36_02_1701.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349996121"],"photo_id":"1349996121","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64e0ceba7dff7ba9524d8b6fa84a5f40.jpg","text":"TemporaryFile(/tmp/multipartBody1037923973344967022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742284708,"filename":"image_15042025_20_36_02_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349996121"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349996121"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.502132892608643 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:38:03.261691
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/37/image_15042025_20_37_01_7424.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/37/image_15042025_20_37_01_7424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/37/image_15042025_20_37_01_7424.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349996418"],"photo_id":"1349996418","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6e86155fab2040fca638606da3785b1.jpg","text":"TemporaryFile(/tmp/multipartBody1964612544687217672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742344025,"filename":"image_15042025_20_37_01_7424.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349996418"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349996418"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.32996392250061 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:39:03.151192
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/38/image_15042025_20_38_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/38/image_15042025_20_38_02_0340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/38/image_15042025_20_38_02_0340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349996705"],"photo_id":"1349996705","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dcbbcbd05ac6fc68c88a6ca5730d142.jpg","text":"TemporaryFile(/tmp/multipartBody8347851049568828739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742403992,"filename":"image_15042025_20_38_02_0340.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349996705"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349996705"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.8818039894104 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:40:03.335770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_02_1824.jpg', 2), ('/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_01_8858.jpg', 2), ('/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_02_0109.jpg', 2), ('/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_01_9288.jpg', 2), ('/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_01_3401.jpg', 2), ('/home/pi/Desktop/images/14042025/16/15/image_14042025_16_15_02_0065.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_02_1824.jpg', '/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_01_8858.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_02_0109.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_01_9288.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_01_3401.jpg', '/home/pi/Desktop/images/14042025/16/15/image_14042025_16_15_02_0065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_02_1824.jpg
/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_01_8858.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_02_0109.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_01_9288.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_01_3401.jpg
/home/pi/Desktop/images/14042025/16/15/image_14042025_16_15_02_0065.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349997060","1349997155","1349997146","1349997200","1349997116","1349997094"],"photo_ids_order":["1349997060","1349997094","1349997116","1349997146","1349997155","1349997200"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91c7ad81e2898fa3a80534e5c9fe3e86.jpg","text":"TemporaryFile(/tmp/multipartBody3184704343293271770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742467761,"filename":"image_14042025_16_21_02_1824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb5bf7a2c424857c15aebc3faf3680ae.jpg","text":"TemporaryFile(/tmp/multipartBody129224865876487651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742467761,"filename":"image_14042025_16_16_01_3401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/364911c4abcac97f91c6b7ba03a03ff7.jpg","text":"TemporaryFile(/tmp/multipartBody2769197741667824305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742467761,"filename":"image_14042025_16_17_01_9288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33a7cae7e0687b1c4b14b14b5d55d73d.jpg","text":"TemporaryFile(/tmp/multipartBody1512008192698106060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742467761,"filename":"image_14042025_16_15_02_0065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fc92bc01faebafb46a20205f54374ee.jpg","text":"TemporaryFile(/tmp/multipartBody5707208454236248020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742467761,"filename":"image_14042025_16_18_02_0109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/004c4549e5f5f58e03c6d6ea2ac2f39c.jpg","text":"TemporaryFile(/tmp/multipartBody4965695513124843703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742467761,"filename":"image_14042025_16_19_01_8858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349997116","file1":"1349997094","file0":"1349997060","file4":"1349997155","file5":"1349997200","file3":"1349997146"},"map_files_photo_id_array":[{"photo_id":"1349997200","filename":"file5"},{"photo_id":"1349997116","filename":"file2"},{"photo_id":"1349997155","filename":"file4"},{"photo_id":"1349997094","filename":"file1"},{"photo_id":"1349997060","filename":"file0"},{"photo_id":"1349997146","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349997060":["hashtag1","hashtag2"]},{"1349997155":["hashtag1","hashtag2"]},{"1349997146":["hashtag1","hashtag2"]},{"1349997200":["hashtag1","hashtag2"]},{"1349997116":["hashtag1","hashtag2"]},{"1349997094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349997060, 1349997155, 1349997146, 1349997200, 1349997116, 1349997094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.980801582336426 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:42:03.289447
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/43/image_15042025_20_43_02_0183.jpg', 2), ('/home/pi/Desktop/images/15042025/20/39/image_15042025_20_39_01_9143.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/39/image_15042025_20_39_01_9143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/39/image_15042025_20_39_01_9143.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349997774"],"photo_id":"1349997774","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/264d83e8b19e71f41d96c3c75b9915fe.jpg","text":"TemporaryFile(/tmp/multipartBody162552040283088251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742584453,"filename":"image_15042025_20_39_01_9143.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349997774"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349997774"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.59316611289978 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/20/43/image_15042025_20_43_02_0183.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:43:03.790933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_01_4258.jpg', 2), ('/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_01_3773.jpg', 2), ('/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_01_6804.jpg', 2), ('/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_01_6268.jpg', 2), ('/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_01_6229.jpg', 2), ('/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_01_5142.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_01_4258.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_01_3773.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_01_6804.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_01_6268.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_01_6229.jpg', '/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_01_5142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_01_4258.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_01_3773.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_01_6804.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_01_6268.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_01_6229.jpg
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_01_5142.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998026","1349998020","1349998034","1349998046","1349998018","1349998056"],"photo_ids_order":["1349998018","1349998020","1349998026","1349998034","1349998046","1349998056"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b789749780761a11c2f1fbf4cc555199.jpg","text":"TemporaryFile(/tmp/multipartBody8586268693377481045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742648311,"filename":"image_14042025_16_12_01_6804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0611a520b15c3cdd5634cd4d89729ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4022289163553724302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742648311,"filename":"image_14042025_16_13_01_3773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a119c9e3c533d404d7c2fadac853c21.jpg","text":"TemporaryFile(/tmp/multipartBody7117573635700028578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742648311,"filename":"image_14042025_16_11_01_6268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d5330c0852ce8dbe5eed6288f452b1c.jpg","text":"TemporaryFile(/tmp/multipartBody6877960288750579417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742648311,"filename":"image_14042025_16_09_01_6229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/331b81f38b24a9c6ee29940eb0fa5cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8975790439288497920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742648311,"filename":"image_14042025_16_14_01_4258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99fb2a3d605e6d042f3b26bf2e2ce502.jpg","text":"TemporaryFile(/tmp/multipartBody4376335272955471527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742648311,"filename":"image_14042025_16_08_01_5142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998026","file1":"1349998020","file0":"1349998018","file4":"1349998046","file5":"1349998056","file3":"1349998034"},"map_files_photo_id_array":[{"photo_id":"1349998056","filename":"file5"},{"photo_id":"1349998026","filename":"file2"},{"photo_id":"1349998046","filename":"file4"},{"photo_id":"1349998020","filename":"file1"},{"photo_id":"1349998018","filename":"file0"},{"photo_id":"1349998034","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349998026":["hashtag1","hashtag2"]},{"1349998020":["hashtag1","hashtag2"]},{"1349998034":["hashtag1","hashtag2"]},{"1349998046":["hashtag1","hashtag2"]},{"1349998018":["hashtag1","hashtag2"]},{"1349998056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349998026, 1349998020, 1349998034, 1349998046, 1349998018, 1349998056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41545295715332 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:45:04.028121
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/42/image_15042025_20_42_01_2474.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/42/image_15042025_20_42_01_2474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/42/image_15042025_20_42_01_2474.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998494"],"photo_id":"1349998494","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/064bf967183f1c3b938e586144bf7b2c.jpg","text":"TemporaryFile(/tmp/multipartBody9127567243818808439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742764866,"filename":"image_15042025_20_42_01_2474.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349998494"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349998494"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.323583602905273 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:46:02.735888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_01_4364.jpg', 2), ('/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_01_3580.jpg', 2), ('/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_01_4201.jpg', 2), ('/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_01_7424.jpg', 2), ('/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_01_9147.jpg', 2), ('/home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_01_8677.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_01_4364.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_01_3580.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_01_4201.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_01_7424.jpg', '/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_01_9147.jpg', '/home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_01_8677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_01_4364.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_01_3580.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_01_4201.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_01_7424.jpg
/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_01_9147.jpg
/home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_01_8677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998812","1349998920","1349998862","1349998856","1349998729","1349998872"],"photo_ids_order":["1349998729","1349998812","1349998856","1349998862","1349998872","1349998920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/123d26d03cef25aefb742b023130f9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3573588988305822356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742827321,"filename":"image_14042025_16_06_01_3580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/685fd8e4f21efaeb786e4a6740f9492e.jpg","text":"TemporaryFile(/tmp/multipartBody4450796315393875210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742827321,"filename":"image_14042025_16_00_01_8677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f862d6aa8e22e5fbe3bf2935e2f383af.jpg","text":"TemporaryFile(/tmp/multipartBody8277468184236960736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742827321,"filename":"image_14042025_16_04_01_7424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44120ec271fabd6a80bb4ccb97e73b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2247617862269641107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742827321,"filename":"image_14042025_16_05_01_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c78bad9fcb40d97aeb5c6aeb337c0a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3916700043108902482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742827321,"filename":"image_14042025_16_07_01_4364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79e81c6f4039e26c2d519b5bed558154.jpg","text":"TemporaryFile(/tmp/multipartBody4194345711346769458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742827321,"filename":"image_14042025_16_02_01_9147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998856","file1":"1349998812","file0":"1349998729","file4":"1349998872","file5":"1349998920","file3":"1349998862"},"map_files_photo_id_array":[{"photo_id":"1349998920","filename":"file5"},{"photo_id":"1349998856","filename":"file2"},{"photo_id":"1349998872","filename":"file4"},{"photo_id":"1349998812","filename":"file1"},{"photo_id":"1349998729","filename":"file0"},{"photo_id":"1349998862","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349998812":["hashtag1","hashtag2"]},{"1349998920":["hashtag1","hashtag2"]},{"1349998862":["hashtag1","hashtag2"]},{"1349998856":["hashtag1","hashtag2"]},{"1349998729":["hashtag1","hashtag2"]},{"1349998872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349998812, 1349998920, 1349998862, 1349998856, 1349998729, 1349998872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.92068004608154 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:48:02.731595
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/47/image_15042025_20_47_01_4569.jpg', 2), ('/home/pi/Desktop/images/15042025/20/44/image_15042025_20_44_02_1572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/47/image_15042025_20_47_01_4569.jpg', '/home/pi/Desktop/images/15042025/20/44/image_15042025_20_44_02_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/47/image_15042025_20_47_01_4569.jpg
/home/pi/Desktop/images/15042025/20/44/image_15042025_20_44_02_1572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999203","1349999211"],"photo_ids_order":["1349999203","1349999211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f972c583b3465eab77b6c6f71e1f368c.jpg","text":"TemporaryFile(/tmp/multipartBody4968545658329754118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742943873,"filename":"image_15042025_20_47_01_4569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1b8b5ea3184f055d9042e73c765f44a.jpg","text":"TemporaryFile(/tmp/multipartBody6191134730856868854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742943873,"filename":"image_15042025_20_44_02_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349999211","file0":"1349999203"},"map_files_photo_id_array":[{"photo_id":"1349999211","filename":"file1"},{"photo_id":"1349999203","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1349999203":["hashtag1","hashtag2"]},{"1349999211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1349999203, 1349999211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.064436435699463 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:49:03.374331
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/48/image_15042025_20_48_01_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/48/image_15042025_20_48_01_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/48/image_15042025_20_48_01_9572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999290"],"photo_id":"1349999290","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95d42f21bd2a646ef1ac8b4fbc7cab4c.jpg","text":"TemporaryFile(/tmp/multipartBody4105008407904939095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743004168,"filename":"image_15042025_20_48_01_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349999290"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349999290"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.127809047698975 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:50:02.648526
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_01_3602.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_01_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_01_3602.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999506"],"photo_id":"1349999506","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/754ad226b04bfb827dc5e74a974675c1.jpg","text":"TemporaryFile(/tmp/multipartBody4605644967768802571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743063417,"filename":"image_15042025_20_49_01_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349999506"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349999506"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.862513542175293 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:51:03.352781
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/50/image_15042025_20_50_01_6661.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/50/image_15042025_20_50_01_6661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/50/image_15042025_20_50_01_6661.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999581"],"photo_id":"1349999581","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/542c8840c0d68073f4ff5009b750f9ba.jpg","text":"TemporaryFile(/tmp/multipartBody4684757867047865834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743124211,"filename":"image_15042025_20_50_01_6661.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349999581"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349999581"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.764925479888916 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:52:02.619031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_01_5588.jpg', 2), ('/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_01_7973.jpg', 2), ('/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_01_5997.jpg', 2), ('/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_02_2006.jpg', 2), ('/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_02_1360.jpg', 2), ('/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_01_5352.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_01_5588.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_01_7973.jpg', '/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_01_5997.jpg', '/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_02_2006.jpg', '/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_02_1360.jpg', '/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_01_5352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_01_5588.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_01_7973.jpg
/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_01_5997.jpg
/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_02_2006.jpg
/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_02_1360.jpg
/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_01_5352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999852","1349999872","1349999857","1349999845","1349999862","1349999838"],"photo_ids_order":["1349999838","1349999845","1349999852","1349999857","1349999862","1349999872"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e3c159d81e720d329fe4f6679280cea.jpg","text":"TemporaryFile(/tmp/multipartBody419670280828088910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743187191,"filename":"image_14042025_15_57_01_5997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b103fe47f614c697bac01600b50f8ed.jpg","text":"TemporaryFile(/tmp/multipartBody1855546855221109482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743187191,"filename":"image_14042025_15_54_01_5352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eec4543808380c6e8198f55663622d93.jpg","text":"TemporaryFile(/tmp/multipartBody4346778103584194953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743187191,"filename":"image_14042025_15_56_02_2006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91b5d6e8ea7c5ddf18a432febff67c91.jpg","text":"TemporaryFile(/tmp/multipartBody496550283558827480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743187191,"filename":"image_14042025_15_58_01_7973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/114aaea1a9895d75e9155972274fa600.jpg","text":"TemporaryFile(/tmp/multipartBody1689795170593855503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743187191,"filename":"image_14042025_15_55_02_1360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c654316b63b661f88cbbddf6822ba59b.jpg","text":"TemporaryFile(/tmp/multipartBody1470225509657726120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743187191,"filename":"image_14042025_15_59_01_5588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999852","file1":"1349999845","file0":"1349999838","file4":"1349999862","file5":"1349999872","file3":"1349999857"},"map_files_photo_id_array":[{"photo_id":"1349999872","filename":"file5"},{"photo_id":"1349999852","filename":"file2"},{"photo_id":"1349999862","filename":"file4"},{"photo_id":"1349999845","filename":"file1"},{"photo_id":"1349999838","filename":"file0"},{"photo_id":"1349999857","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1349999852":["hashtag1","hashtag2"]},{"1349999872":["hashtag1","hashtag2"]},{"1349999857":["hashtag1","hashtag2"]},{"1349999845":["hashtag1","hashtag2"]},{"1349999862":["hashtag1","hashtag2"]},{"1349999838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1349999852, 1349999872, 1349999857, 1349999845, 1349999862, 1349999838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.47666096687317 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:54:02.605717
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/51/image_15042025_20_51_01_3504.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/51/image_15042025_20_51_01_3504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/51/image_15042025_20_51_01_3504.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000214"],"photo_id":"1350000214","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/363809b068c1a61d08223cdd47fc562f.jpg","text":"TemporaryFile(/tmp/multipartBody786949576717982726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743303388,"filename":"image_15042025_20_51_01_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350000214"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350000214"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.506811141967773 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:55:03.345821
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_01_5375.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_01_5375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_01_5375.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000346"],"photo_id":"1350000346","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcdaeadcceb451914982979fea2be653.jpg","text":"TemporaryFile(/tmp/multipartBody6458518418881355182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743364196,"filename":"image_15042025_20_54_01_5375.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350000346"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350000346"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.856692790985107 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:56:03.519136
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/55/image_15042025_20_55_01_2189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/55/image_15042025_20_55_01_2189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/55/image_15042025_20_55_01_2189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000504"],"photo_id":"1350000504","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99d82b4bf6518bdd10b884346f52762a.jpg","text":"TemporaryFile(/tmp/multipartBody5142583158593666669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743424304,"filename":"image_15042025_20_55_01_2189.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350000504"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350000504"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.068801403045654 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:57:03.412899
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/56/image_15042025_20_56_01_4568.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/56/image_15042025_20_56_01_4568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/56/image_15042025_20_56_01_4568.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000750"],"photo_id":"1350000750","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91fec3905b9e5719a6b6987c1d6b87f4.jpg","text":"TemporaryFile(/tmp/multipartBody4496954403553443514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743484185,"filename":"image_15042025_20_56_01_4568.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350000750"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350000750"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.083795547485352 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 20:59:03.198070
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_01_5280.jpg', 2), ('/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_02_1044.jpg', 2), ('/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_01_3116.jpg', 2), ('/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_01_6226.jpg', 2), ('/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_01_4874.jpg', 2), ('/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_02_1176.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_01_5280.jpg', '/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_02_1044.jpg', '/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_01_3116.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_01_6226.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_01_4874.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_02_1176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_01_5280.jpg
/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_02_1044.jpg
/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_01_3116.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_01_6226.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_01_4874.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_02_1176.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350002345","1350002060","1350001946","1350002152","1350001838","1350002239"],"photo_ids_order":["1350001838","1350001946","1350002060","1350002152","1350002239","1350002345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5527a35cb46a7380ce1d4b45ab62ff7e.jpg","text":"TemporaryFile(/tmp/multipartBody8290121635693691789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743607618,"filename":"image_14042025_15_45_02_1176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bd292c6fa0cdc9b81f7ac1a62ce9b56.jpg","text":"TemporaryFile(/tmp/multipartBody5588440960305668303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743607618,"filename":"image_14042025_15_51_01_3116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/739d581dfb3fcf367688ab3950642fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1837868790741552814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743607618,"filename":"image_14042025_15_52_02_1044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee8edccbeaac402a77f7c1a40ef478df.jpg","text":"TemporaryFile(/tmp/multipartBody3321277211059726833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743607618,"filename":"image_14042025_15_50_01_6226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eda81d01f0255c77fbfee4efc83b285.jpg","text":"TemporaryFile(/tmp/multipartBody99962600524760367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743607618,"filename":"image_14042025_15_53_01_5280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59d7f4df2019e7f87fd6d4103568d697.jpg","text":"TemporaryFile(/tmp/multipartBody242940869008379267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743607618,"filename":"image_14042025_15_46_01_4874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350002060","file1":"1350001946","file0":"1350001838","file4":"1350002239","file5":"1350002345","file3":"1350002152"},"map_files_photo_id_array":[{"photo_id":"1350002345","filename":"file5"},{"photo_id":"1350002060","filename":"file2"},{"photo_id":"1350002239","filename":"file4"},{"photo_id":"1350001946","filename":"file1"},{"photo_id":"1350001838","filename":"file0"},{"photo_id":"1350002152","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350002345":["hashtag1","hashtag2"]},{"1350002060":["hashtag1","hashtag2"]},{"1350001946":["hashtag1","hashtag2"]},{"1350002152":["hashtag1","hashtag2"]},{"1350001838":["hashtag1","hashtag2"]},{"1350002239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350002345, 1350002060, 1350001946, 1350002152, 1350001838, 1350002239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.14103889465332 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:01:03.368067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_01_8665.jpg', 2), ('/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_01_8107.jpg', 2), ('/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_01_8683.jpg', 2), ('/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_01_7075.jpg', 2), ('/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_02_3114.jpg', 2), ('/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_02_0895.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_01_8665.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_01_8107.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_01_8683.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_01_7075.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_02_3114.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_02_0895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_01_8665.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_01_8107.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_01_8683.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_01_7075.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_02_3114.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_02_0895.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350003454","1350003298","1350003337","1350003286","1350003270","1350003402"],"photo_ids_order":["1350003270","1350003286","1350003298","1350003337","1350003402","1350003454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84dff188aa48a34f92c46012d85f4614.jpg","text":"TemporaryFile(/tmp/multipartBody2618064308897537193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743727880,"filename":"image_14042025_15_37_02_0895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d28fd23574a65f0ffe42f4a770051bae.jpg","text":"TemporaryFile(/tmp/multipartBody4030770565511638945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743727880,"filename":"image_14042025_15_40_01_8683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04a41b36f5bc83783c64b07fe0effb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7459500524614361956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743727880,"filename":"image_14042025_15_39_01_7075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff1fee19f77289461c9d1d263d6d640c.jpg","text":"TemporaryFile(/tmp/multipartBody4951265420118065389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743727880,"filename":"image_14042025_15_43_01_8107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61a5c339bbf0d0567d5ef8e7e050a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody7388482935821876571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743727880,"filename":"image_14042025_15_44_01_8665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b92d4fa759f136f34cc51726006a1e4.jpg","text":"TemporaryFile(/tmp/multipartBody6660814707793103043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743727880,"filename":"image_14042025_15_38_02_3114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350003298","file1":"1350003286","file0":"1350003270","file4":"1350003402","file5":"1350003454","file3":"1350003337"},"map_files_photo_id_array":[{"photo_id":"1350003454","filename":"file5"},{"photo_id":"1350003298","filename":"file2"},{"photo_id":"1350003402","filename":"file4"},{"photo_id":"1350003286","filename":"file1"},{"photo_id":"1350003270","filename":"file0"},{"photo_id":"1350003337","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350003454":["hashtag1","hashtag2"]},{"1350003298":["hashtag1","hashtag2"]},{"1350003337":["hashtag1","hashtag2"]},{"1350003286":["hashtag1","hashtag2"]},{"1350003270":["hashtag1","hashtag2"]},{"1350003402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350003454, 1350003298, 1350003337, 1350003286, 1350003270, 1350003402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.7749354839325 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:03:03.294589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_5428.jpg', 2), ('/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_01_5267.jpg', 2), ('/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_01_9581.jpg', 2), ('/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_01_3414.jpg', 2), ('/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_01_5279.jpg', 2), ('/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_01_7725.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_5428.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_01_5267.jpg', '/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_01_9581.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_01_3414.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_01_5279.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_01_7725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_5428.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_01_5267.jpg
/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_01_9581.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_01_3414.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_01_5279.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_01_7725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350004234","1350004359","1350004215","1350004352","1350004319","1350004229"],"photo_ids_order":["1350004215","1350004229","1350004234","1350004319","1350004352","1350004359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71ef2f9f6d44f77f0876375c6716d7f6.jpg","text":"TemporaryFile(/tmp/multipartBody5244463469491124160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743847811,"filename":"image_14042025_15_34_01_9581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14af10ce425ceb4b2be950de520ce9f2.jpg","text":"TemporaryFile(/tmp/multipartBody1760535963584611407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743847811,"filename":"image_14042025_15_30_01_7725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/425aeba50abf736f655a186bee86b3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6771772434707703935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743847811,"filename":"image_14042025_15_36_01_5428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdec50ecee33478aeaab0b5a5fdb5276.jpg","text":"TemporaryFile(/tmp/multipartBody6907996737752114697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743847811,"filename":"image_14042025_15_31_01_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8297e5444c26919a3910fd3b76220cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7104916027990555623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743847811,"filename":"image_14042025_15_32_01_3414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42fc805d068fb5be69fa91e78da235d5.jpg","text":"TemporaryFile(/tmp/multipartBody8931604765138848334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743847811,"filename":"image_14042025_15_35_01_5267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350004234","file1":"1350004229","file0":"1350004215","file4":"1350004352","file5":"1350004359","file3":"1350004319"},"map_files_photo_id_array":[{"photo_id":"1350004359","filename":"file5"},{"photo_id":"1350004234","filename":"file2"},{"photo_id":"1350004352","filename":"file4"},{"photo_id":"1350004229","filename":"file1"},{"photo_id":"1350004215","filename":"file0"},{"photo_id":"1350004319","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350004234":["hashtag1","hashtag2"]},{"1350004359":["hashtag1","hashtag2"]},{"1350004215":["hashtag1","hashtag2"]},{"1350004352":["hashtag1","hashtag2"]},{"1350004319":["hashtag1","hashtag2"]},{"1350004229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350004234, 1350004359, 1350004215, 1350004352, 1350004319, 1350004229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.092098236083984 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:05:03.363837
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_01_6928.jpg', 2), ('/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_01_6496.jpg', 2), ('/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_01_8221.jpg', 2), ('/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_02_1938.jpg', 2), ('/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_01_4779.jpg', 2), ('/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_01_3897.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_01_6928.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_01_6496.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_01_8221.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_02_1938.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_01_4779.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_01_3897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_01_6928.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_01_6496.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_01_8221.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_02_1938.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_01_4779.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_01_3897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350004858","1350004447","1350004872","1350004461","1350004592","1350004762"],"photo_ids_order":["1350004447","1350004461","1350004592","1350004762","1350004858","1350004872"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/060bf299bbed7292bf05b9562fa0929e.jpg","text":"TemporaryFile(/tmp/multipartBody3153921224399492015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743967705,"filename":"image_14042025_15_24_01_4779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa14a6f1d14e4905e6ce43fd8c328345.jpg","text":"TemporaryFile(/tmp/multipartBody8313120802080908833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743967705,"filename":"image_14042025_15_29_01_6928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49ea15b9140ac819d05b3ac2071ae09e.jpg","text":"TemporaryFile(/tmp/multipartBody3626387829627102404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743967705,"filename":"image_14042025_15_21_01_3897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a47f49f04d418081cd10a0c060e2e48a.jpg","text":"TemporaryFile(/tmp/multipartBody777456652653953209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743967705,"filename":"image_14042025_15_27_01_6496.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22d997669977fa1da174bdc17bff51c5.jpg","text":"TemporaryFile(/tmp/multipartBody2705716333707294498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743967705,"filename":"image_14042025_15_26_01_8221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab94f70fcb06ce75e95bdc8adf6d11cb.jpg","text":"TemporaryFile(/tmp/multipartBody695586387099741195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743967705,"filename":"image_14042025_15_25_02_1938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350004592","file1":"1350004461","file0":"1350004447","file4":"1350004858","file5":"1350004872","file3":"1350004762"},"map_files_photo_id_array":[{"photo_id":"1350004872","filename":"file5"},{"photo_id":"1350004592","filename":"file2"},{"photo_id":"1350004858","filename":"file4"},{"photo_id":"1350004461","filename":"file1"},{"photo_id":"1350004447","filename":"file0"},{"photo_id":"1350004762","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350004858":["hashtag1","hashtag2"]},{"1350004447":["hashtag1","hashtag2"]},{"1350004872":["hashtag1","hashtag2"]},{"1350004461":["hashtag1","hashtag2"]},{"1350004592":["hashtag1","hashtag2"]},{"1350004762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350004858, 1350004447, 1350004872, 1350004461, 1350004592, 1350004762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.17734909057617 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:07:03.750397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_02_0649.jpg', 2), ('/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_01_4147.jpg', 2), ('/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_02_0117.jpg', 2), ('/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_01_8808.jpg', 2), ('/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_01_5874.jpg', 2), ('/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_01_2710.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_02_0649.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_01_4147.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_02_0117.jpg', '/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_01_8808.jpg', '/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_01_5874.jpg', '/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_01_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_02_0649.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_01_4147.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_02_0117.jpg
/home/pi/Desktop/images/14042025/15/15/image_14042025_15_15_01_8808.jpg
/home/pi/Desktop/images/14042025/15/14/image_14042025_15_14_01_5874.jpg
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_01_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005384","1350005322","1350005225","1350005207","1350005216","1350005275"],"photo_ids_order":["1350005207","1350005216","1350005225","1350005275","1350005322","1350005384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/797010e97c4102911e44d0a0f5da5744.jpg","text":"TemporaryFile(/tmp/multipartBody3758218837861143215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744087957,"filename":"image_14042025_15_13_01_2710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd5d711d3d9e67320eb6c3543be5c4a0.jpg","text":"TemporaryFile(/tmp/multipartBody3575327785848760589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744087957,"filename":"image_14042025_15_14_01_5874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f12f804fe3a47e77d469222f7f7cc79d.jpg","text":"TemporaryFile(/tmp/multipartBody1045788364865871288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744087957,"filename":"image_14042025_15_16_02_0117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/667bac87df96f20c1b6008fb72b291d0.jpg","text":"TemporaryFile(/tmp/multipartBody6133252381521456573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744087957,"filename":"image_14042025_15_20_02_0649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3630c47c8bcccbd39f8cfe547ffa6eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1882324710275422624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744087957,"filename":"image_14042025_15_17_01_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/064fdab7217d749d13edfe0aecf80b89.jpg","text":"TemporaryFile(/tmp/multipartBody8275663977565481144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744087957,"filename":"image_14042025_15_15_01_8808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005225","file1":"1350005216","file0":"1350005207","file4":"1350005322","file5":"1350005384","file3":"1350005275"},"map_files_photo_id_array":[{"photo_id":"1350005384","filename":"file5"},{"photo_id":"1350005225","filename":"file2"},{"photo_id":"1350005322","filename":"file4"},{"photo_id":"1350005216","filename":"file1"},{"photo_id":"1350005207","filename":"file0"},{"photo_id":"1350005275","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350005384":["hashtag1","hashtag2"]},{"1350005322":["hashtag1","hashtag2"]},{"1350005225":["hashtag1","hashtag2"]},{"1350005207":["hashtag1","hashtag2"]},{"1350005216":["hashtag1","hashtag2"]},{"1350005275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350005384, 1350005322, 1350005225, 1350005207, 1350005216, 1350005275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.71986746788025 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:09:03.271400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_01_7927.jpg', 2), ('/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_01_6891.jpg', 2), ('/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_01_9812.jpg', 2), ('/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_02_0119.jpg', 2), ('/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_01_6655.jpg', 2), ('/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_01_5085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_01_7927.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_01_6891.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_01_9812.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_02_0119.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_01_6655.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_01_5085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_01_7927.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_01_6891.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_01_9812.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_02_0119.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_01_6655.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_01_5085.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005859","1350005844","1350005742","1350005792","1350005819","1350005917"],"photo_ids_order":["1350005742","1350005792","1350005819","1350005844","1350005859","1350005917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09c4fd20c02adf7ef6a4dc8966aef0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8374176026454401118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744207573,"filename":"image_14042025_15_08_01_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cedfe6865e19c905e64728a7bc6f0b6d.jpg","text":"TemporaryFile(/tmp/multipartBody7575987626031939420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744207573,"filename":"image_14042025_15_09_02_0119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d30204f6b7abe6a13a20091dc2d798e.jpg","text":"TemporaryFile(/tmp/multipartBody2624781525443483744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744207573,"filename":"image_14042025_15_12_01_7927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/378e29468cd8cf3ab7031c7f1b3d3a56.jpg","text":"TemporaryFile(/tmp/multipartBody5802259715942642438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744207573,"filename":"image_14042025_15_11_01_6891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdc34c5c0d9574903f05a834ca8c7eec.jpg","text":"TemporaryFile(/tmp/multipartBody5023408721036714794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744207573,"filename":"image_14042025_15_10_01_9812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4637714b841160ab9d118296efe0b7ad.jpg","text":"TemporaryFile(/tmp/multipartBody5279986386201292646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744207573,"filename":"image_14042025_15_07_01_5085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005819","file1":"1350005792","file0":"1350005742","file4":"1350005859","file5":"1350005917","file3":"1350005844"},"map_files_photo_id_array":[{"photo_id":"1350005917","filename":"file5"},{"photo_id":"1350005819","filename":"file2"},{"photo_id":"1350005859","filename":"file4"},{"photo_id":"1350005792","filename":"file1"},{"photo_id":"1350005742","filename":"file0"},{"photo_id":"1350005844","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350005859":["hashtag1","hashtag2"]},{"1350005844":["hashtag1","hashtag2"]},{"1350005742":["hashtag1","hashtag2"]},{"1350005792":["hashtag1","hashtag2"]},{"1350005819":["hashtag1","hashtag2"]},{"1350005917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350005859, 1350005844, 1350005742, 1350005792, 1350005819, 1350005917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.84526824951172 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:11:03.456242
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/20/57/image_15042025_20_57_02_2274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/57/image_15042025_20_57_02_2274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/20/57/image_15042025_20_57_02_2274.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350006237"],"photo_id":"1350006237","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/248a051b277537bb18b2f8e4f422762d.jpg","text":"TemporaryFile(/tmp/multipartBody9081378666496520464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744324279,"filename":"image_15042025_20_57_02_2274.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350006237"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350006237"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.251203536987305 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:12:02.681942
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/11/image_15042025_21_11_01_4275.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/11/image_15042025_21_11_01_4275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/11/image_15042025_21_11_01_4275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350006634"],"photo_id":"1350006634","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e77a66ea56b4ca0252f0d89bff21e424.jpg","text":"TemporaryFile(/tmp/multipartBody7933410860682730865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744383477,"filename":"image_15042025_21_11_01_4275.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350006634"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350006634"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.461131811141968 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:13:03.474456
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_02_0052.jpg', 2), ('/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_01_9421.jpg', 2), ('/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_01_6450.jpg', 2), ('/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_01_7269.jpg', 2), ('/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_02_2685.jpg', 2), ('/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_01_6413.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_02_0052.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_01_9421.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_01_6450.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_01_7269.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_02_2685.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_01_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_02_0052.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_01_9421.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_01_6450.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_01_7269.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_02_2685.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_01_6413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350007268","1350007361","1350007198","1350007420","1350007438","1350007143"],"photo_ids_order":["1350007143","1350007198","1350007268","1350007361","1350007420","1350007438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8a70f2c663d41e69aacc510042dbdf2.jpg","text":"TemporaryFile(/tmp/multipartBody3816488792981899424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744447780,"filename":"image_14042025_15_04_01_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d15b550f6dee9cb91338808030966a0.jpg","text":"TemporaryFile(/tmp/multipartBody608623448593576807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744447780,"filename":"image_14042025_15_03_01_7269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/752c1c79238e6b569db6e64ca106561d.jpg","text":"TemporaryFile(/tmp/multipartBody6088969204633898916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744447780,"filename":"image_14042025_15_05_01_9421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1671f561547e7f2439d54f46252aaa89.jpg","text":"TemporaryFile(/tmp/multipartBody1595668340327247482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744447780,"filename":"image_14042025_15_01_02_2685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7df14230439914092a799a39664fc05.jpg","text":"TemporaryFile(/tmp/multipartBody6561249245285156672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744447780,"filename":"image_14042025_14_59_01_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65794159bfca28e810ccdd87c0ec867d.jpg","text":"TemporaryFile(/tmp/multipartBody6991674277312108751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744447780,"filename":"image_14042025_15_06_02_0052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350007268","file1":"1350007198","file0":"1350007143","file4":"1350007420","file5":"1350007438","file3":"1350007361"},"map_files_photo_id_array":[{"photo_id":"1350007438","filename":"file5"},{"photo_id":"1350007268","filename":"file2"},{"photo_id":"1350007420","filename":"file4"},{"photo_id":"1350007198","filename":"file1"},{"photo_id":"1350007143","filename":"file0"},{"photo_id":"1350007361","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350007268":["hashtag1","hashtag2"]},{"1350007361":["hashtag1","hashtag2"]},{"1350007198":["hashtag1","hashtag2"]},{"1350007420":["hashtag1","hashtag2"]},{"1350007438":["hashtag1","hashtag2"]},{"1350007143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350007268, 1350007361, 1350007198, 1350007420, 1350007438, 1350007143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.228907346725464 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:15:03.654439
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/14/image_15042025_21_14_01_8217.jpg', 2), ('/home/pi/Desktop/images/15042025/21/12/image_15042025_21_12_01_6088.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/14/image_15042025_21_14_01_8217.jpg', '/home/pi/Desktop/images/15042025/21/12/image_15042025_21_12_01_6088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/14/image_15042025_21_14_01_8217.jpg
/home/pi/Desktop/images/15042025/21/12/image_15042025_21_12_01_6088.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008204","1350008284"],"photo_ids_order":["1350008204","1350008284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55d1b0cc546e614cf83ac6e92b2ebf66.jpg","text":"TemporaryFile(/tmp/multipartBody3606910457261573347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744564871,"filename":"image_15042025_21_14_01_8217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0aa788c8c0a4f3e996835fac7298603.jpg","text":"TemporaryFile(/tmp/multipartBody6293147405503912235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744564871,"filename":"image_15042025_21_12_01_6088.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350008284","file0":"1350008204"},"map_files_photo_id_array":[{"photo_id":"1350008284","filename":"file1"},{"photo_id":"1350008204","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350008204":["hashtag1","hashtag2"]},{"1350008284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350008204, 1350008284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.74493980407715 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:16:03.210391
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/15/image_15042025_21_15_01_5869.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/15/image_15042025_21_15_01_5869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/15/image_15042025_21_15_01_5869.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008420"],"photo_id":"1350008420","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82c3031a3f2eee284733a1a6b2723636.jpg","text":"TemporaryFile(/tmp/multipartBody6291346603611926347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744623968,"filename":"image_15042025_21_15_01_5869.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350008420"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350008420"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.490286827087402 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:17:03.906015
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/16/image_15042025_21_16_01_8177.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/16/image_15042025_21_16_01_8177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/16/image_15042025_21_16_01_8177.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008792"],"photo_id":"1350008792","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec6b8495218a78e2a8ef6ec66b128c5a.jpg","text":"TemporaryFile(/tmp/multipartBody901123272584339051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744684766,"filename":"image_15042025_21_16_01_8177.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350008792"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350008792"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.74610185623169 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:18:03.197320
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/17/image_15042025_21_17_01_7470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/17/image_15042025_21_17_01_7470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/17/image_15042025_21_17_01_7470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350009594"],"photo_id":"1350009594","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed18dbc91c088d4ae63fe1f952c604d6.jpg","text":"TemporaryFile(/tmp/multipartBody6157802623843276202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744744001,"filename":"image_15042025_21_17_01_7470.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350009594"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350009594"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.660413026809692 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:19:03.790900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_01_4521.jpg', 2), ('/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_01_9127.jpg', 2), ('/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_01_5785.jpg', 2), ('/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_01_3418.jpg', 2), ('/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_01_6169.jpg', 2), ('/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_01_6435.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_01_4521.jpg', '/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_01_9127.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_01_5785.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_01_3418.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_01_6169.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_01_6435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_01_4521.jpg
/home/pi/Desktop/images/14042025/14/57/image_14042025_14_57_01_9127.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_01_5785.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_01_3418.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_01_6169.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_01_6435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010040","1350009999","1350009912","1350009944","1350010011","1350010079"],"photo_ids_order":["1350009912","1350009944","1350009999","1350010011","1350010040","1350010079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ce97400eb562b9c9a1af131ae70e16f.jpg","text":"TemporaryFile(/tmp/multipartBody4238222520577901592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744807953,"filename":"image_14042025_14_54_01_6169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2fd6d52b976ccd95b42782965d4a775d.jpg","text":"TemporaryFile(/tmp/multipartBody3169393839787031892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744807953,"filename":"image_14042025_14_56_01_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7750ce3f108123f0f1b82fb1897de445.jpg","text":"TemporaryFile(/tmp/multipartBody7433836373497553468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744807953,"filename":"image_14042025_14_58_01_4521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe81a4ae4fd17e622de704b2a1a1ef43.jpg","text":"TemporaryFile(/tmp/multipartBody1583456443472856639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744807953,"filename":"image_14042025_14_57_01_9127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d229821d411ca54b3556bdc70cd73f30.jpg","text":"TemporaryFile(/tmp/multipartBody3981300602285684146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744807953,"filename":"image_14042025_14_55_01_3418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41e073e18b52c63d065877ec9e7bc539.jpg","text":"TemporaryFile(/tmp/multipartBody6763107094712528409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744807953,"filename":"image_14042025_14_53_01_6435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350009999","file1":"1350009944","file0":"1350009912","file4":"1350010040","file5":"1350010079","file3":"1350010011"},"map_files_photo_id_array":[{"photo_id":"1350010079","filename":"file5"},{"photo_id":"1350009999","filename":"file2"},{"photo_id":"1350010040","filename":"file4"},{"photo_id":"1350009944","filename":"file1"},{"photo_id":"1350009912","filename":"file0"},{"photo_id":"1350010011","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350010040":["hashtag1","hashtag2"]},{"1350009999":["hashtag1","hashtag2"]},{"1350009912":["hashtag1","hashtag2"]},{"1350009944":["hashtag1","hashtag2"]},{"1350010011":["hashtag1","hashtag2"]},{"1350010079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350010040, 1350009999, 1350009912, 1350009944, 1350010011, 1350010079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.574241399765015 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:21:03.077233
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/20/image_15042025_21_20_02_2020.jpg', 2), ('/home/pi/Desktop/images/15042025/21/18/image_15042025_21_18_02_1009.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/20/image_15042025_21_20_02_2020.jpg', '/home/pi/Desktop/images/15042025/21/18/image_15042025_21_18_02_1009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/20/image_15042025_21_20_02_2020.jpg
/home/pi/Desktop/images/15042025/21/18/image_15042025_21_18_02_1009.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010375","1350010386"],"photo_ids_order":["1350010375","1350010386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2040eebcb49a943fc2cc84caa55ae511.jpg","text":"TemporaryFile(/tmp/multipartBody7877864248165592915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744924289,"filename":"image_15042025_21_20_02_2020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fb450b3cd1a4074b29dcad109eca500.jpg","text":"TemporaryFile(/tmp/multipartBody6133757504474434253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744924289,"filename":"image_15042025_21_18_02_1009.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350010386","file0":"1350010375"},"map_files_photo_id_array":[{"photo_id":"1350010386","filename":"file1"},{"photo_id":"1350010375","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350010375":["hashtag1","hashtag2"]},{"1350010386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350010375, 1350010386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.283369302749634 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:22:03.101282
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/21/image_15042025_21_21_02_1667.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/21/image_15042025_21_21_02_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/21/image_15042025_21_21_02_1667.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010685"],"photo_id":"1350010685","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c86486bb563d0a622173f0a57427decd.jpg","text":"TemporaryFile(/tmp/multipartBody969275293117697286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744985283,"filename":"image_15042025_21_21_02_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350010685"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350010685"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.896191358566284 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:23:03.793461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_01_3672.jpg', 2), ('/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_01_8266.jpg', 2), ('/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_01_3747.jpg', 2), ('/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_02_1550.jpg', 2), ('/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_01_5472.jpg', 2), ('/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_01_5765.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_01_3672.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_01_8266.jpg', '/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_01_3747.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_02_1550.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_01_5472.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_01_5765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_01_3672.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_01_8266.jpg
/home/pi/Desktop/images/14042025/14/50/image_14042025_14_50_01_3747.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_02_1550.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_01_5472.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_01_5765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010966","1350011038","1350011082","1350011028","1350011180","1350011018"],"photo_ids_order":["1350010966","1350011018","1350011028","1350011038","1350011082","1350011180"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb64019fb4dc8c80b1bc129b28f1b182.jpg","text":"TemporaryFile(/tmp/multipartBody4701092973705862623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745048055,"filename":"image_14042025_14_52_01_3672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a67fe3a09c41585e739aaf5d6c18297e.jpg","text":"TemporaryFile(/tmp/multipartBody6305222897888579733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745048055,"filename":"image_14042025_14_49_02_1550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ed310515da2ccf7e8b6233924571b80.jpg","text":"TemporaryFile(/tmp/multipartBody2331295697062243710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745048055,"filename":"image_14042025_14_48_01_5472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d713cbf027a1bf1ad0744d4c9ec889c.jpg","text":"TemporaryFile(/tmp/multipartBody5783942529897702678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745048055,"filename":"image_14042025_14_50_01_3747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3252995fa405004dce4def5809e85b22.jpg","text":"TemporaryFile(/tmp/multipartBody8690048494630701460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745048055,"filename":"image_14042025_14_47_01_5765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f946527fb29d600b8eec9bda056705e.jpg","text":"TemporaryFile(/tmp/multipartBody5037125289080187688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745048055,"filename":"image_14042025_14_51_01_8266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350011028","file1":"1350011018","file0":"1350010966","file4":"1350011082","file5":"1350011180","file3":"1350011038"},"map_files_photo_id_array":[{"photo_id":"1350011180","filename":"file5"},{"photo_id":"1350011028","filename":"file2"},{"photo_id":"1350011082","filename":"file4"},{"photo_id":"1350011018","filename":"file1"},{"photo_id":"1350010966","filename":"file0"},{"photo_id":"1350011038","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350010966":["hashtag1","hashtag2"]},{"1350011038":["hashtag1","hashtag2"]},{"1350011082":["hashtag1","hashtag2"]},{"1350011028":["hashtag1","hashtag2"]},{"1350011180":["hashtag1","hashtag2"]},{"1350011018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350010966, 1350011038, 1350011082, 1350011028, 1350011180, 1350011018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.98689937591553 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:25:07.939640
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/24/image_15042025_21_24_02_1257.jpg', 2), ('/home/pi/Desktop/images/15042025/21/22/image_15042025_21_22_01_2367.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/24/image_15042025_21_24_02_1257.jpg', '/home/pi/Desktop/images/15042025/21/22/image_15042025_21_22_01_2367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/24/image_15042025_21_24_02_1257.jpg
/home/pi/Desktop/images/15042025/21/22/image_15042025_21_22_01_2367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011561","1350011508"],"photo_ids_order":["1350011508","1350011561"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e3ae4e65c129e487e08858e14034898.jpg","text":"TemporaryFile(/tmp/multipartBody2298255746499762528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745170207,"filename":"image_15042025_21_22_01_2367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c10e075c286c8fca20e7b61192fd8896.jpg","text":"TemporaryFile(/tmp/multipartBody7315900011789194967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745170207,"filename":"image_15042025_21_24_02_1257.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350011561","file0":"1350011508"},"map_files_photo_id_array":[{"photo_id":"1350011561","filename":"file1"},{"photo_id":"1350011508","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350011561":["hashtag1","hashtag2"]},{"1350011508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350011561, 1350011508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.937047481536865 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:26:05.476416
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/25/image_15042025_21_25_01_8588.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/25/image_15042025_21_25_01_8588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/25/image_15042025_21_25_01_8588.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011929"],"photo_id":"1350011929","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86f6e2378698e8ea36dbcec3ea5f393c.jpg","text":"TemporaryFile(/tmp/multipartBody6216477266202562372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745226598,"filename":"image_15042025_21_25_01_8588.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350011929"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350011929"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.378591775894165 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:27:04.538958
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/26/image_15042025_21_26_02_1937.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/26/image_15042025_21_26_02_1937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/26/image_15042025_21_26_02_1937.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012106"],"photo_id":"1350012106","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/519e0ce2bb345580624ad7e124476677.jpg","text":"TemporaryFile(/tmp/multipartBody6176726219973316717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745285605,"filename":"image_15042025_21_26_02_1937.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350012106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350012106"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.715698957443237 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:28:02.681955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_02_3467.jpg', 2), ('/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_01_9397.jpg', 2), ('/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_01_3432.jpg', 2), ('/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_02_1384.jpg', 2), ('/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_02_2374.jpg', 2), ('/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_01_9910.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_02_3467.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_01_9397.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_01_3432.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_02_1384.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_02_2374.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_01_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_02_3467.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_01_9397.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_01_3432.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_02_1384.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_02_2374.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_01_9910.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012540","1350012441","1350012593","1350012494","1350012312","1350012386"],"photo_ids_order":["1350012312","1350012386","1350012441","1350012494","1350012540","1350012593"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0f9c39954ac4f56279a07061f63e2ea.jpg","text":"TemporaryFile(/tmp/multipartBody567920776753307857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745346987,"filename":"image_14042025_14_42_02_2374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a94b236c374f8eddd750c25267d80b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7488665050840096422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745346987,"filename":"image_14042025_14_44_01_3432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97590db8d531285dc5709ce6d98dada3.jpg","text":"TemporaryFile(/tmp/multipartBody5461187597551615066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745346987,"filename":"image_14042025_14_41_01_9910.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3ab520414b9afd5c23b410d348e91ee.jpg","text":"TemporaryFile(/tmp/multipartBody1526726118013128284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745346987,"filename":"image_14042025_14_43_02_1384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/161da6184af17ea20845301a7d824e48.jpg","text":"TemporaryFile(/tmp/multipartBody7233166808836183370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745346987,"filename":"image_14042025_14_46_02_3467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef811e919f2d6529e6f447fa8f6fda18.jpg","text":"TemporaryFile(/tmp/multipartBody4687776798145086948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745346987,"filename":"image_14042025_14_45_01_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350012441","file1":"1350012386","file0":"1350012312","file4":"1350012540","file5":"1350012593","file3":"1350012494"},"map_files_photo_id_array":[{"photo_id":"1350012593","filename":"file5"},{"photo_id":"1350012441","filename":"file2"},{"photo_id":"1350012540","filename":"file4"},{"photo_id":"1350012386","filename":"file1"},{"photo_id":"1350012312","filename":"file0"},{"photo_id":"1350012494","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350012540":["hashtag1","hashtag2"]},{"1350012441":["hashtag1","hashtag2"]},{"1350012593":["hashtag1","hashtag2"]},{"1350012494":["hashtag1","hashtag2"]},{"1350012312":["hashtag1","hashtag2"]},{"1350012386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350012540, 1350012441, 1350012593, 1350012494, 1350012312, 1350012386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.11922788619995 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:29:03.520798
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/27/image_15042025_21_27_00_6628.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/27/image_15042025_21_27_00_6628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/27/image_15042025_21_27_00_6628.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012715"],"photo_id":"1350012715","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faf03725ab30c18f48cefc1805b21c80.jpg","text":"TemporaryFile(/tmp/multipartBody3396013102705217078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745404370,"filename":"image_15042025_21_27_00_6628.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350012715"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350012715"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.411450386047363 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:30:02.814996
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/29/image_15042025_21_29_01_3844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/29/image_15042025_21_29_01_3844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/29/image_15042025_21_29_01_3844.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013021"],"photo_id":"1350013021","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b48a8d060dbcdfb252750c91f3229f8.jpg","text":"TemporaryFile(/tmp/multipartBody3947548865362805195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745463584,"filename":"image_15042025_21_29_01_3844.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350013021"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350013021"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.332508325576782 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:31:03.828608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_01_3791.jpg', 2), ('/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_01_8237.jpg', 2), ('/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_01_9098.jpg', 2), ('/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_01_9725.jpg', 2), ('/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_02_2784.jpg', 2), ('/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_02_1438.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_01_3791.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_01_8237.jpg', '/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_01_9098.jpg', '/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_01_9725.jpg', '/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_02_2784.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_02_1438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_01_3791.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_01_8237.jpg
/home/pi/Desktop/images/14042025/14/38/image_14042025_14_38_01_9098.jpg
/home/pi/Desktop/images/14042025/14/37/image_14042025_14_37_01_9725.jpg
/home/pi/Desktop/images/14042025/14/36/image_14042025_14_36_02_2784.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_02_1438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013482","1350013089","1350013116","1350013459","1350013294","1350013084"],"photo_ids_order":["1350013084","1350013089","1350013116","1350013294","1350013459","1350013482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d93cddf2000c917490df90c5046b34d0.jpg","text":"TemporaryFile(/tmp/multipartBody3135455038768332494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745528027,"filename":"image_14042025_14_35_02_1438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96747846dc49f4f25ff3f27f8aac41d0.jpg","text":"TemporaryFile(/tmp/multipartBody730077615757816427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745528027,"filename":"image_14042025_14_39_01_8237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc2a134b4b3155481cb911987fc13f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5020086220742062862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745528027,"filename":"image_14042025_14_38_01_9098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aefc1858e45a7ca40671ffe24a7fe73.jpg","text":"TemporaryFile(/tmp/multipartBody668733990571417548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745528027,"filename":"image_14042025_14_36_02_2784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fba0132f53bdda36e91298373378a860.jpg","text":"TemporaryFile(/tmp/multipartBody2219142108266564911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745528027,"filename":"image_14042025_14_37_01_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3652ce48075bf0c38374adcb8ed7d438.jpg","text":"TemporaryFile(/tmp/multipartBody3521429994090209964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745528027,"filename":"image_14042025_14_40_01_3791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013116","file1":"1350013089","file0":"1350013084","file4":"1350013459","file5":"1350013482","file3":"1350013294"},"map_files_photo_id_array":[{"photo_id":"1350013482","filename":"file5"},{"photo_id":"1350013116","filename":"file2"},{"photo_id":"1350013459","filename":"file4"},{"photo_id":"1350013089","filename":"file1"},{"photo_id":"1350013084","filename":"file0"},{"photo_id":"1350013294","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350013482":["hashtag1","hashtag2"]},{"1350013089":["hashtag1","hashtag2"]},{"1350013116":["hashtag1","hashtag2"]},{"1350013459":["hashtag1","hashtag2"]},{"1350013294":["hashtag1","hashtag2"]},{"1350013084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350013482, 1350013089, 1350013116, 1350013459, 1350013294, 1350013084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.33876705169678 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:33:03.519947
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/33/image_15042025_21_33_01_5778.jpg', 2), ('/home/pi/Desktop/images/15042025/21/30/image_15042025_21_30_01_5757.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/33/image_15042025_21_33_01_5778.jpg', '/home/pi/Desktop/images/15042025/21/30/image_15042025_21_30_01_5757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/33/image_15042025_21_33_01_5778.jpg
/home/pi/Desktop/images/15042025/21/30/image_15042025_21_30_01_5757.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013814","1350013867"],"photo_ids_order":["1350013814","1350013867"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b895b7ea441c29b155fd2590436785be.jpg","text":"TemporaryFile(/tmp/multipartBody8888963561933546231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745644802,"filename":"image_15042025_21_33_01_5778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59c34cd1291bc37ddee2d6917be15d16.jpg","text":"TemporaryFile(/tmp/multipartBody8884486770035731090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745644802,"filename":"image_15042025_21_30_01_5757.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350013867","file0":"1350013814"},"map_files_photo_id_array":[{"photo_id":"1350013867","filename":"file1"},{"photo_id":"1350013814","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350013814":["hashtag1","hashtag2"]},{"1350013867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350013814, 1350013867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.24851942062378 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:34:03.532119
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/32/image_15042025_21_32_01_9253.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/32/image_15042025_21_32_01_9253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/32/image_15042025_21_32_01_9253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350014025"],"photo_id":"1350014025","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c00f5f9c2e44e6a26e3c2dbedfe7ee91.jpg","text":"TemporaryFile(/tmp/multipartBody2529413117683714177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745704332,"filename":"image_15042025_21_32_01_9253.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350014025"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350014025"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.294267177581787 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:35:03.313451
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/34/image_15042025_21_34_01_6638.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/34/image_15042025_21_34_01_6638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/34/image_15042025_21_34_01_6638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350014464"],"photo_id":"1350014464","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/702680e9bdf60d98116e8a73502bdee8.jpg","text":"TemporaryFile(/tmp/multipartBody1880141862619862197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745764116,"filename":"image_15042025_21_34_01_6638.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350014464"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350014464"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.660065412521362 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:36:02.571329
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/35/image_15042025_21_35_02_2318.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/35/image_15042025_21_35_02_2318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/35/image_15042025_21_35_02_2318.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350014855"],"photo_id":"1350014855","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79138d5f93793e0435ce266ce73614cf.jpg","text":"TemporaryFile(/tmp/multipartBody5622973309733037510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745823438,"filename":"image_15042025_21_35_02_2318.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350014855"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350014855"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.953718185424805 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:37:03.246296
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/36/image_15042025_21_36_01_5361.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/36/image_15042025_21_36_01_5361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/36/image_15042025_21_36_01_5361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015179"],"photo_id":"1350015179","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c2a61a9a873ec733218095ee9e360e4.jpg","text":"TemporaryFile(/tmp/multipartBody6078770898474571059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745884175,"filename":"image_15042025_21_36_01_5361.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350015179"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350015179"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.773274183273315 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:38:03.449296
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/37/image_15042025_21_37_01_2006.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/37/image_15042025_21_37_01_2006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/37/image_15042025_21_37_01_2006.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015287"],"photo_id":"1350015287","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1180089ce927197a5c9e330c4b001900.jpg","text":"TemporaryFile(/tmp/multipartBody1662307050425478918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745944246,"filename":"image_15042025_21_37_01_2006.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350015287"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350015287"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.845570087432861 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:39:03.161656
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/38/image_15042025_21_38_01_4638.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/38/image_15042025_21_38_01_4638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/38/image_15042025_21_38_01_4638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015668"],"photo_id":"1350015668","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b49a7363980574a152a1d76a4fde88f7.jpg","text":"TemporaryFile(/tmp/multipartBody833873506560536710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746003937,"filename":"image_15042025_21_38_01_4638.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350015668"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350015668"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.856396198272705 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:40:03.406704
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/39/image_15042025_21_39_02_0450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/39/image_15042025_21_39_02_0450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/39/image_15042025_21_39_02_0450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015876"],"photo_id":"1350015876","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34c3adba98604c35277f65d66b1d2abc.jpg","text":"TemporaryFile(/tmp/multipartBody6692068899511460387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746064187,"filename":"image_15042025_21_39_02_0450.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350015876"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350015876"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.431286811828613 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:41:03.629266
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/40/image_15042025_21_40_01_3680.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/40/image_15042025_21_40_01_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/40/image_15042025_21_40_01_3680.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016267"],"photo_id":"1350016267","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d9721c33dc5ae720703be37a2f00c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5511628398770487159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746124440,"filename":"image_15042025_21_40_01_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350016267"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350016267"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.766201972961426 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:42:03.034465
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/41/image_15042025_21_41_02_0399.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/41/image_15042025_21_41_02_0399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/41/image_15042025_21_41_02_0399.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016675"],"photo_id":"1350016675","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e36a091d2e29218ee1923963d8fb600.jpg","text":"TemporaryFile(/tmp/multipartBody8394772971415003202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746183844,"filename":"image_15042025_21_41_02_0399.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350016675"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350016675"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.845033884048462 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:43:03.872839
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/42/image_15042025_21_42_01_8579.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/42/image_15042025_21_42_01_8579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/42/image_15042025_21_42_01_8579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016945"],"photo_id":"1350016945","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b189cd026a637b9bf772a8b830152e8.jpg","text":"TemporaryFile(/tmp/multipartBody7654306664367019422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746244671,"filename":"image_15042025_21_42_01_8579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350016945"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350016945"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.602258682250977 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:44:03.110395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_02_0563.jpg', 2), ('/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_01_6089.jpg', 2), ('/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_02_1647.jpg', 2), ('/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_01_9434.jpg', 2), ('/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_01_8379.jpg', 2), ('/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_01_9272.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_02_0563.jpg', '/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_01_6089.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_02_1647.jpg', '/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_01_9434.jpg', '/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_01_8379.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_01_9272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_02_0563.jpg
/home/pi/Desktop/images/14042025/14/33/image_14042025_14_33_01_6089.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_02_1647.jpg
/home/pi/Desktop/images/14042025/14/31/image_14042025_14_31_01_9434.jpg
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_01_8379.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_01_9272.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350017014","1350017038","1350017026","1350017031","1350017048","1350017003"],"photo_ids_order":["1350017003","1350017014","1350017026","1350017031","1350017038","1350017048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d9ad100858dbef2388962ef5fc9a4eb.jpg","text":"TemporaryFile(/tmp/multipartBody6438453269960645031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746308889,"filename":"image_14042025_14_33_01_6089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e00f3df9816ddd9fc67405e59d96cee7.jpg","text":"TemporaryFile(/tmp/multipartBody4511651503681488237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746308889,"filename":"image_14042025_14_29_01_8379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d83aa719e09779ba3cde08ff1183b6a.jpg","text":"TemporaryFile(/tmp/multipartBody250713498078490332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746308889,"filename":"image_14042025_14_32_02_1647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52b29aa0dfd163ea3b509e7ccfe09417.jpg","text":"TemporaryFile(/tmp/multipartBody4194656477376571542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746308889,"filename":"image_14042025_14_31_01_9434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21b747d63dd42e882d45f3cd21ba0561.jpg","text":"TemporaryFile(/tmp/multipartBody1229656986515547426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746308889,"filename":"image_14042025_14_28_01_9272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92d752f8fd27377d498c06d2beea8054.jpg","text":"TemporaryFile(/tmp/multipartBody3849149313506467679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746308889,"filename":"image_14042025_14_34_02_0563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350017026","file1":"1350017014","file0":"1350017003","file4":"1350017038","file5":"1350017048","file3":"1350017031"},"map_files_photo_id_array":[{"photo_id":"1350017048","filename":"file5"},{"photo_id":"1350017026","filename":"file2"},{"photo_id":"1350017038","filename":"file4"},{"photo_id":"1350017014","filename":"file1"},{"photo_id":"1350017003","filename":"file0"},{"photo_id":"1350017031","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350017014":["hashtag1","hashtag2"]},{"1350017038":["hashtag1","hashtag2"]},{"1350017026":["hashtag1","hashtag2"]},{"1350017031":["hashtag1","hashtag2"]},{"1350017048":["hashtag1","hashtag2"]},{"1350017003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350017014, 1350017038, 1350017026, 1350017031, 1350017048, 1350017003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.27493214607239 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:46:02.886470
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/45/image_15042025_21_45_01_7983.jpg', 2), ('/home/pi/Desktop/images/15042025/21/43/image_15042025_21_43_01_7182.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/45/image_15042025_21_45_01_7983.jpg', '/home/pi/Desktop/images/15042025/21/43/image_15042025_21_43_01_7182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/45/image_15042025_21_45_01_7983.jpg
/home/pi/Desktop/images/15042025/21/43/image_15042025_21_43_01_7182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350017870","1350018061"],"photo_ids_order":["1350017870","1350018061"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b12ff21725056af578c2deeb28e8cddc.jpg","text":"TemporaryFile(/tmp/multipartBody7224371723924787063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746424171,"filename":"image_15042025_21_45_01_7983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7982605222ecf1d5207ade8089d6bcca.jpg","text":"TemporaryFile(/tmp/multipartBody8638706653433896678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746424171,"filename":"image_15042025_21_43_01_7182.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350018061","file0":"1350017870"},"map_files_photo_id_array":[{"photo_id":"1350018061","filename":"file1"},{"photo_id":"1350017870","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350017870":["hashtag1","hashtag2"]},{"1350018061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350017870, 1350018061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.472084999084473 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:47:03.555406
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/46/image_15042025_21_46_01_8681.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/46/image_15042025_21_46_01_8681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/46/image_15042025_21_46_01_8681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350018243"],"photo_id":"1350018243","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4e9c1a13032414c3fdc3d352a0e73ca.jpg","text":"TemporaryFile(/tmp/multipartBody8292218790303744861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746484424,"filename":"image_15042025_21_46_01_8681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350018243"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350018243"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.178568124771118 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:48:03.042090
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/47/image_15042025_21_47_01_5888.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/47/image_15042025_21_47_01_5888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/47/image_15042025_21_47_01_5888.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350018697"],"photo_id":"1350018697","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1b700d6b99df70d5e3e898903380100.jpg","text":"TemporaryFile(/tmp/multipartBody4499075959289900990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746543832,"filename":"image_15042025_21_47_01_5888.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350018697"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350018697"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.51884937286377 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:49:03.877579
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/48/image_15042025_21_48_01_8225.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/48/image_15042025_21_48_01_8225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/48/image_15042025_21_48_01_8225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019068"],"photo_id":"1350019068","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d73634fd9bfc796ec60e3ee40fb41301.jpg","text":"TemporaryFile(/tmp/multipartBody4022983230515488829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746604705,"filename":"image_15042025_21_48_01_8225.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350019068"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350019068"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.961827754974365 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:50:03.103131
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/49/image_15042025_21_49_01_6442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/49/image_15042025_21_49_01_6442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/49/image_15042025_21_49_01_6442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019362"],"photo_id":"1350019362","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75e414c3732c83b9e2d7d7ca3d44d536.jpg","text":"TemporaryFile(/tmp/multipartBody3751026978546783857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746663938,"filename":"image_15042025_21_49_01_6442.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350019362"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350019362"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.778760194778442 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:51:03.787459
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/50/image_15042025_21_50_02_1186.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/50/image_15042025_21_50_02_1186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/50/image_15042025_21_50_02_1186.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019734"],"photo_id":"1350019734","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7ab509271a99844c559e549bd2973aa.jpg","text":"TemporaryFile(/tmp/multipartBody4552004862096836939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746724625,"filename":"image_15042025_21_50_02_1186.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350019734"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350019734"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.453246593475342 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:52:03.024917
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/51/image_15042025_21_51_01_7793.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/51/image_15042025_21_51_01_7793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/51/image_15042025_21_51_01_7793.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019787"],"photo_id":"1350019787","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f05da7fa8f668bdf168c4e5253a1b27.jpg","text":"TemporaryFile(/tmp/multipartBody4354109847562608698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746783838,"filename":"image_15042025_21_51_01_7793.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350019787"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350019787"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.361284971237183 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:53:03.704274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_01_5478.jpg', 2), ('/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_01_8404.jpg', 2), ('/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_02_0628.jpg', 2), ('/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_02_1328.jpg', 2), ('/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_02_1085.jpg', 2), ('/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_01_4948.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_01_5478.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_01_8404.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_02_0628.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_02_1328.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_02_1085.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_01_4948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_01_5478.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_01_8404.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_02_0628.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_02_1328.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_02_1085.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_01_4948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350020214","1350020075","1350020150","1350020204","1350020194","1350020170"],"photo_ids_order":["1350020075","1350020150","1350020170","1350020194","1350020204","1350020214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/739c94a1b8d153194bdc0a45560a6385.jpg","text":"TemporaryFile(/tmp/multipartBody2500492297468130312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746847986,"filename":"image_14042025_14_22_01_4948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8def1f3e375262f40c18dece849137d.jpg","text":"TemporaryFile(/tmp/multipartBody6727925474664399025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746847986,"filename":"image_14042025_14_27_01_5478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/365427f8023fe5d338e183554bbd6169.jpg","text":"TemporaryFile(/tmp/multipartBody3741813740230347460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746847986,"filename":"image_14042025_14_26_01_8404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53077e9b4d7a6a6595bbf6811f258e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4300547681146781565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746847986,"filename":"image_14042025_14_23_02_1085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2de2fd15d0e4b0454a5a56d2895c91.jpg","text":"TemporaryFile(/tmp/multipartBody908688711830605683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746847986,"filename":"image_14042025_14_24_02_1328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c295c31e1c3d11ecb04cfbecefb78df.jpg","text":"TemporaryFile(/tmp/multipartBody3792692425731190600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746847986,"filename":"image_14042025_14_25_02_0628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350020170","file1":"1350020150","file0":"1350020075","file4":"1350020204","file5":"1350020214","file3":"1350020194"},"map_files_photo_id_array":[{"photo_id":"1350020214","filename":"file5"},{"photo_id":"1350020170","filename":"file2"},{"photo_id":"1350020204","filename":"file4"},{"photo_id":"1350020150","filename":"file1"},{"photo_id":"1350020075","filename":"file0"},{"photo_id":"1350020194","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350020214":["hashtag1","hashtag2"]},{"1350020075":["hashtag1","hashtag2"]},{"1350020150":["hashtag1","hashtag2"]},{"1350020204":["hashtag1","hashtag2"]},{"1350020194":["hashtag1","hashtag2"]},{"1350020170":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350020214, 1350020075, 1350020150, 1350020204, 1350020194, 1350020170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.35998296737671 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:55:03.630832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_01_2878.jpg', 2), ('/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_01_3674.jpg', 2), ('/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_02_0430.jpg', 2), ('/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_01_6220.jpg', 2), ('/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_01_5480.jpg', 2), ('/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_02_2947.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_01_2878.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_01_3674.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_02_0430.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_01_6220.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_01_5480.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_02_2947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_01_2878.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_01_3674.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_02_0430.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_01_6220.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_01_5480.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_02_2947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350020308","1350020416","1350020328","1350020288","1350020440","1350020377"],"photo_ids_order":["1350020288","1350020308","1350020328","1350020377","1350020416","1350020440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0975c53c05adb60c7710a7aad05db5ba.jpg","text":"TemporaryFile(/tmp/multipartBody4436082383812548314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746967789,"filename":"image_14042025_14_20_01_3674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dc80e936895a8b95ecb5bcadbd5df72.jpg","text":"TemporaryFile(/tmp/multipartBody1505513417738427906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746967789,"filename":"image_14042025_14_17_01_5480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0802fa053cde1809fcf5bab2acd6a74.jpg","text":"TemporaryFile(/tmp/multipartBody307916523894060960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746967789,"filename":"image_14042025_14_19_02_0430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3188bfac9eed9937409a4a2fae9aed63.jpg","text":"TemporaryFile(/tmp/multipartBody6071812977723512787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746967789,"filename":"image_14042025_14_21_01_2878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a242b505473d74c1c788fc7a1452382.jpg","text":"TemporaryFile(/tmp/multipartBody2359812576970428507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746967789,"filename":"image_14042025_14_16_02_2947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c80f9aab916848ae48843b81bc65e3c.jpg","text":"TemporaryFile(/tmp/multipartBody872535142577244800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746967789,"filename":"image_14042025_14_18_01_6220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350020328","file1":"1350020308","file0":"1350020288","file4":"1350020416","file5":"1350020440","file3":"1350020377"},"map_files_photo_id_array":[{"photo_id":"1350020440","filename":"file5"},{"photo_id":"1350020328","filename":"file2"},{"photo_id":"1350020416","filename":"file4"},{"photo_id":"1350020308","filename":"file1"},{"photo_id":"1350020288","filename":"file0"},{"photo_id":"1350020377","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350020308":["hashtag1","hashtag2"]},{"1350020416":["hashtag1","hashtag2"]},{"1350020328":["hashtag1","hashtag2"]},{"1350020288":["hashtag1","hashtag2"]},{"1350020440":["hashtag1","hashtag2"]},{"1350020377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350020308, 1350020416, 1350020328, 1350020288, 1350020440, 1350020377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.86319923400879 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:57:04.003454
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg', 2), ('/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg', 2), ('/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg', 2), ('/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg', 2), ('/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg', 2), ('/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 21:59:03.933862
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/52/image_15042025_21_52_02_0065.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/52/image_15042025_21_52_02_0065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/52/image_15042025_21_52_02_0065.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350022916"],"photo_id":"1350022916","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/831fd4f29bf42761a72dc8a287cb71be.jpg","text":"TemporaryFile(/tmp/multipartBody4169933745484083584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747204740,"filename":"image_15042025_21_52_02_0065.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350022916"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350022916"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.108609914779663 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:00:03.064700
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/21/59/image_15042025_21_59_01_8670.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/59/image_15042025_21_59_01_8670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/21/59/image_15042025_21_59_01_8670.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350023459"],"photo_id":"1350023459","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d02c45d36fdd5cb9c6c8629dd53b8f28.jpg","text":"TemporaryFile(/tmp/multipartBody6947615395896605818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747263813,"filename":"image_15042025_21_59_01_8670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350023459"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350023459"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.752831935882568 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:01:03.652954
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/00/image_15042025_22_00_02_0348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/00/image_15042025_22_00_02_0348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/00/image_15042025_22_00_02_0348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350023693"],"photo_id":"1350023693","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2895697b83bc62852a11f6216c438f76.jpg","text":"TemporaryFile(/tmp/multipartBody416852427619568157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747324512,"filename":"image_15042025_22_00_02_0348.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350023693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350023693"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.191523790359497 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:02:03.110862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg', 2), ('/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg', 2), ('/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg', 2), ('/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg', 2), ('/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg', 2), ('/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.949816942214966 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:03:03.702872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg', 2), ('/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg', 2), ('/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg', 2), ('/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg', 2), ('/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg', 2), ('/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_02_0377.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_4929.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_4463.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_01_3781.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_01_4764.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350026014","1350026360","1350026348","1350025619","1350025727","1350026416"],"photo_ids_order":["1350025619","1350025727","1350026014","1350026348","1350026360","1350026416"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3df105d2ccb8fcbb0f56acb74df44cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3347340780971575984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747446790,"filename":"image_14042025_14_12_01_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b78cf8a3c492d5c64705884276e45c7.jpg","text":"TemporaryFile(/tmp/multipartBody3024875643055828016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747446790,"filename":"image_14042025_14_10_01_4764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8a964002850ab023e8bb1bed8c47198.jpg","text":"TemporaryFile(/tmp/multipartBody7981332949428368062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747446790,"filename":"image_14042025_14_11_01_3781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0c0ddb27a9c4008160bed87b0ecd8f5.jpg","text":"TemporaryFile(/tmp/multipartBody2519619686421870670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747446790,"filename":"image_14042025_14_15_02_0377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bd6281bafd376669323b861fd1e5130.jpg","text":"TemporaryFile(/tmp/multipartBody2368858081779606386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747446790,"filename":"image_14042025_14_13_01_4929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59515457ca95de5ad0e763361b056331.jpg","text":"TemporaryFile(/tmp/multipartBody4326361152226946337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747446790,"filename":"image_14042025_14_09_01_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350026014","file1":"1350025727","file0":"1350025619","file4":"1350026360","file5":"1350026416","file3":"1350026348"},"map_files_photo_id_array":[{"photo_id":"1350026416","filename":"file5"},{"photo_id":"1350026014","filename":"file2"},{"photo_id":"1350026360","filename":"file4"},{"photo_id":"1350025727","filename":"file1"},{"photo_id":"1350025619","filename":"file0"},{"photo_id":"1350026348","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350026014":["hashtag1","hashtag2"]},{"1350026360":["hashtag1","hashtag2"]},{"1350026348":["hashtag1","hashtag2"]},{"1350025619":["hashtag1","hashtag2"]},{"1350025727":["hashtag1","hashtag2"]},{"1350026416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350026014, 1350026360, 1350026348, 1350025619, 1350025727, 1350026416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.264636516571045 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:05:03.466841
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/01/image_15042025_22_01_01_7138.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/01/image_15042025_22_01_01_7138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/01/image_15042025_22_01_01_7138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350027335"],"photo_id":"1350027335","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0503cf460f0df8f74de82bacbf9dd59c.jpg","text":"TemporaryFile(/tmp/multipartBody1394769955651787731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747564294,"filename":"image_15042025_22_01_01_7138.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350027335"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350027335"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.241342782974243 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:06:02.544197
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/05/image_15042025_22_05_01_6016.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/05/image_15042025_22_05_01_6016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/05/image_15042025_22_05_01_6016.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350027914"],"photo_id":"1350027914","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f39dd11431f8a5469081a7e047218e5.jpg","text":"TemporaryFile(/tmp/multipartBody7157493029143559780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747623360,"filename":"image_15042025_22_05_01_6016.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350027914"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350027914"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.066091060638428 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:07:03.322466
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/06/image_15042025_22_06_01_8468.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/06/image_15042025_22_06_01_8468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/06/image_15042025_22_06_01_8468.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350028263"],"photo_id":"1350028263","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c08b86b9004c7e6f1f8f7f02c71aca5.jpg","text":"TemporaryFile(/tmp/multipartBody9073624212822017822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747684112,"filename":"image_15042025_22_06_01_8468.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350028263"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350028263"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.350373983383179 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:08:03.541082
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/07/image_15042025_22_07_01_2302.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/07/image_15042025_22_07_01_2302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/07/image_15042025_22_07_01_2302.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350028766"],"photo_id":"1350028766","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b1232559974495fc7cf50fefbd09534.jpg","text":"TemporaryFile(/tmp/multipartBody3996805670361538397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744284,"filename":"image_15042025_22_07_01_2302.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350028766"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350028766"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.183298826217651 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:09:03.235977
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_02_2360.jpg', 2), ('/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_02_2033.jpg', 2), ('/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_01_4570.jpg', 2), ('/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_02_2254.jpg', 2), ('/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_01_8407.jpg', 2), ('/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_02_2383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_02_2360.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_02_2033.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_01_4570.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_02_2254.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_01_8407.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_02_2383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_02_2360.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_02_2033.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_01_4570.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_02_2254.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_01_8407.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_02_2383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350029348","1350029097","1350029268","1350029448","1350029514","1350029162"],"photo_ids_order":["1350029097","1350029162","1350029268","1350029348","1350029448","1350029514"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0190e31b3eb51e1bf99d01c68fe4118d.jpg","text":"TemporaryFile(/tmp/multipartBody2802791201071239946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747807640,"filename":"image_14042025_14_05_02_2254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/555244a91e7a8a1cde6b99a074cd65c4.jpg","text":"TemporaryFile(/tmp/multipartBody2285232949598187800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747807640,"filename":"image_14042025_14_08_02_2360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c74004dd8e27f3f79c91cf99599ff1e1.jpg","text":"TemporaryFile(/tmp/multipartBody8514821015427832982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747807640,"filename":"image_14042025_14_06_01_4570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c74d9669e1c7e962c0f73d19a424a1e7.jpg","text":"TemporaryFile(/tmp/multipartBody4984636438671847424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747807640,"filename":"image_14042025_14_04_01_8407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7105e3e0520d31fcd52aaa22d00a49a1.jpg","text":"TemporaryFile(/tmp/multipartBody4838561154856437618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747807640,"filename":"image_14042025_14_03_02_2383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab4f907f615e8a6be0b0164818221766.jpg","text":"TemporaryFile(/tmp/multipartBody985388472299344682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747807640,"filename":"image_14042025_14_07_02_2033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350029268","file1":"1350029162","file0":"1350029097","file4":"1350029448","file5":"1350029514","file3":"1350029348"},"map_files_photo_id_array":[{"photo_id":"1350029514","filename":"file5"},{"photo_id":"1350029268","filename":"file2"},{"photo_id":"1350029448","filename":"file4"},{"photo_id":"1350029162","filename":"file1"},{"photo_id":"1350029097","filename":"file0"},{"photo_id":"1350029348","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350029348":["hashtag1","hashtag2"]},{"1350029097":["hashtag1","hashtag2"]},{"1350029268":["hashtag1","hashtag2"]},{"1350029448":["hashtag1","hashtag2"]},{"1350029514":["hashtag1","hashtag2"]},{"1350029162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350029348, 1350029097, 1350029268, 1350029448, 1350029514, 1350029162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.78692722320557 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:11:03.109433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_01_7962.jpg', 2), ('/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_02_0572.jpg', 2), ('/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_01_9976.jpg', 2), ('/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_01_2627.jpg', 2), ('/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_01_9264.jpg', 2), ('/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_01_4354.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_01_7962.jpg', '/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_02_0572.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_01_9976.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_01_2627.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_01_9264.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_01_4354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_01_7962.jpg
/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_02_0572.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_01_9976.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_01_2627.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_01_9264.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_01_4354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350030761","1350030991","1350031185","1350031089","1350030900","1350030645"],"photo_ids_order":["1350030645","1350030761","1350030900","1350030991","1350031089","1350031185"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a09b0dde0a51b087424867112869688.jpg","text":"TemporaryFile(/tmp/multipartBody3504683405889452303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747927672,"filename":"image_14042025_14_00_02_0572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8db0ab1e38321174cbc35f0e239dfbc.jpg","text":"TemporaryFile(/tmp/multipartBody447856818252362640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747927672,"filename":"image_14042025_13_58_01_2627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c3668636b1bdbca4dd4f4697e1a6044.jpg","text":"TemporaryFile(/tmp/multipartBody1773913775177596390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747927672,"filename":"image_14042025_13_55_01_4354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3591b56a7a51da60f5fe0f3d2f3a1ae4.jpg","text":"TemporaryFile(/tmp/multipartBody864232804225602259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747927672,"filename":"image_14042025_13_57_01_9264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2733c4018c80aee02b06e19ccc93db3.jpg","text":"TemporaryFile(/tmp/multipartBody8475280203834875960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747927672,"filename":"image_14042025_13_59_01_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/596f372808cb68eb05f22ba16e18429e.jpg","text":"TemporaryFile(/tmp/multipartBody6184625500827275940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747927672,"filename":"image_14042025_14_02_01_7962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350030900","file1":"1350030761","file0":"1350030645","file4":"1350031089","file5":"1350031185","file3":"1350030991"},"map_files_photo_id_array":[{"photo_id":"1350031185","filename":"file5"},{"photo_id":"1350030900","filename":"file2"},{"photo_id":"1350031089","filename":"file4"},{"photo_id":"1350030761","filename":"file1"},{"photo_id":"1350030645","filename":"file0"},{"photo_id":"1350030991","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350030761":["hashtag1","hashtag2"]},{"1350030991":["hashtag1","hashtag2"]},{"1350031185":["hashtag1","hashtag2"]},{"1350031089":["hashtag1","hashtag2"]},{"1350030900":["hashtag1","hashtag2"]},{"1350030645":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350030761, 1350030991, 1350031185, 1350031089, 1350030900, 1350030645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.98412203788757 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:13:03.702996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_01_4082.jpg', 2), ('/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_01_4370.jpg', 2), ('/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_01_2571.jpg', 2), ('/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_02_1113.jpg', 2), ('/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_01_7303.jpg', 2), ('/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_01_5893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_01_4082.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_01_4370.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_01_2571.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_02_1113.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_01_7303.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_01_5893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_01_4082.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_01_4370.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_01_2571.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_02_1113.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_01_7303.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_01_5893.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350032290","1350032485","1350032592","1350032736","1350032412","1350032692"],"photo_ids_order":["1350032290","1350032412","1350032485","1350032592","1350032692","1350032736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d498cb16ab5310685b43510a27af6368.jpg","text":"TemporaryFile(/tmp/multipartBody1810510160742035613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748048351,"filename":"image_14042025_13_54_01_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af00aac4b2a7089e83c983b37872b919.jpg","text":"TemporaryFile(/tmp/multipartBody1935606237946526095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748048351,"filename":"image_14042025_13_52_01_2571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/356e1722e4726ceca970f571026df49c.jpg","text":"TemporaryFile(/tmp/multipartBody6672713603887475101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748048351,"filename":"image_14042025_13_51_02_1113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/459ad8e8fa605977b6d04214cf32036a.jpg","text":"TemporaryFile(/tmp/multipartBody7073064729358207752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748048351,"filename":"image_14042025_13_49_01_5893.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f631e11073fac65620b10620c984eea1.jpg","text":"TemporaryFile(/tmp/multipartBody6683649202981623029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748048351,"filename":"image_14042025_13_53_01_4370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e979279ce5a38fc9c4453d29fcc6d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4982307393285808390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748048351,"filename":"image_14042025_13_50_01_7303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350032485","file1":"1350032412","file0":"1350032290","file4":"1350032692","file5":"1350032736","file3":"1350032592"},"map_files_photo_id_array":[{"photo_id":"1350032736","filename":"file5"},{"photo_id":"1350032485","filename":"file2"},{"photo_id":"1350032692","filename":"file4"},{"photo_id":"1350032412","filename":"file1"},{"photo_id":"1350032290","filename":"file0"},{"photo_id":"1350032592","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350032290":["hashtag1","hashtag2"]},{"1350032485":["hashtag1","hashtag2"]},{"1350032592":["hashtag1","hashtag2"]},{"1350032736":["hashtag1","hashtag2"]},{"1350032412":["hashtag1","hashtag2"]},{"1350032692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350032290, 1350032485, 1350032592, 1350032736, 1350032412, 1350032692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.62769150733948 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:15:03.933478
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/08/image_15042025_22_08_01_5519.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/08/image_15042025_22_08_01_5519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/08/image_15042025_22_08_01_5519.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350033301"],"photo_id":"1350033301","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/110af650eb71d91e29d93f1e44a90c63.jpg","text":"TemporaryFile(/tmp/multipartBody210564977047226614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748164748,"filename":"image_15042025_22_08_01_5519.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350033301"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350033301"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.626279830932617 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:16:03.302942
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/14/image_15042025_22_14_01_9484.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/14/image_15042025_22_14_01_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/14/image_15042025_22_14_01_9484.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6784846782684326 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:17:03.473122
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/16/image_15042025_22_16_02_2578.jpg', 2), ('/home/pi/Desktop/images/15042025/22/14/image_15042025_22_14_01_9484.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/16/image_15042025_22_16_02_2578.jpg', '/home/pi/Desktop/images/15042025/22/14/image_15042025_22_14_01_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/16/image_15042025_22_16_02_2578.jpg
/home/pi/Desktop/images/15042025/22/14/image_15042025_22_14_01_9484.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350034161","1350034091"],"photo_ids_order":["1350034091","1350034161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e04cd4e44cfd1407ec178eb064f4884.jpg","text":"TemporaryFile(/tmp/multipartBody3122093457902259663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748284716,"filename":"image_15042025_22_14_01_9484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/489bff1358c6b6cc7ea508175adb2133.jpg","text":"TemporaryFile(/tmp/multipartBody1827174789187616146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748284716,"filename":"image_15042025_22_16_02_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350034161","file0":"1350034091"},"map_files_photo_id_array":[{"photo_id":"1350034161","filename":"file1"},{"photo_id":"1350034091","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350034161":["hashtag1","hashtag2"]},{"1350034091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350034161, 1350034091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.108153581619263 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:18:03.504437
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/17/image_15042025_22_17_01_9035.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/17/image_15042025_22_17_01_9035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/17/image_15042025_22_17_01_9035.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350034580"],"photo_id":"1350034580","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/263212c951aa5e9fc712f4b8e43e963d.jpg","text":"TemporaryFile(/tmp/multipartBody955535942107322498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748344260,"filename":"image_15042025_22_17_01_9035.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350034580"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350034580"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.373954057693481 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:19:03.275922
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_02_0070.jpg', 2), ('/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_02_0090.jpg', 2), ('/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_01_4900.jpg', 2), ('/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_02_1449.jpg', 2), ('/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_02_1231.jpg', 2), ('/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_01_2806.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_02_0070.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_02_0090.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_01_4900.jpg', '/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_02_1449.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_02_1231.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_01_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_02_0070.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_02_0090.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_01_4900.jpg
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_02_1449.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_02_1231.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_01_2806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350035709","1350036212","1350035933","1350035810","1350035995","1350036114"],"photo_ids_order":["1350035709","1350035810","1350035933","1350035995","1350036114","1350036212"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/895330145ecbaaadab281b2344c71c0f.jpg","text":"TemporaryFile(/tmp/multipartBody4590121065023115959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748407724,"filename":"image_14042025_13_48_02_0070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9f8b21d26730807a9026f71ce7e969c.jpg","text":"TemporaryFile(/tmp/multipartBody2060527412021913671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748407724,"filename":"image_14042025_13_42_01_2806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da1a9151af2baa86cb82362913eacd73.jpg","text":"TemporaryFile(/tmp/multipartBody5671211572559972633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748407724,"filename":"image_14042025_13_45_01_4900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6357e7fb992a9433d07c3a76e25db11.jpg","text":"TemporaryFile(/tmp/multipartBody2236619639902817850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748407724,"filename":"image_14042025_13_47_02_0090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23cf5d4c2fb44bb08f63b18fbc68d549.jpg","text":"TemporaryFile(/tmp/multipartBody4919823743457793273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748407724,"filename":"image_14042025_13_44_02_1449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da804732eb16ea83c4b63d66aaf06084.jpg","text":"TemporaryFile(/tmp/multipartBody5700644991981480645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748407724,"filename":"image_14042025_13_43_02_1231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350035933","file1":"1350035810","file0":"1350035709","file4":"1350036114","file5":"1350036212","file3":"1350035995"},"map_files_photo_id_array":[{"photo_id":"1350036212","filename":"file5"},{"photo_id":"1350035933","filename":"file2"},{"photo_id":"1350036114","filename":"file4"},{"photo_id":"1350035810","filename":"file1"},{"photo_id":"1350035709","filename":"file0"},{"photo_id":"1350035995","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350035709":["hashtag1","hashtag2"]},{"1350036212":["hashtag1","hashtag2"]},{"1350035933":["hashtag1","hashtag2"]},{"1350035810":["hashtag1","hashtag2"]},{"1350035995":["hashtag1","hashtag2"]},{"1350036114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350035709, 1350036212, 1350035933, 1350035810, 1350035995, 1350036114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.91992592811584 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:21:03.259619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_02_1324.jpg', 2), ('/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_01_6908.jpg', 2), ('/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_02_0145.jpg', 2), ('/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_01_5483.jpg', 2), ('/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_02_1682.jpg', 2), ('/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_01_6092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_02_1324.jpg', '/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_01_6908.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_02_0145.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_01_5483.jpg', '/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_02_1682.jpg', '/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_01_6092.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/41/image_14042025_13_41_02_1324.jpg
/home/pi/Desktop/images/14042025/13/40/image_14042025_13_40_01_6908.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_02_0145.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_01_5483.jpg
/home/pi/Desktop/images/14042025/13/37/image_14042025_13_37_02_1682.jpg
/home/pi/Desktop/images/14042025/13/36/image_14042025_13_36_01_6092.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350038309","1350038491","1350038173","1350038736","1350038235","1350038919"],"photo_ids_order":["1350038173","1350038235","1350038309","1350038491","1350038736","1350038919"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8afe70a611344da4573bdea51b56fe3f.jpg","text":"TemporaryFile(/tmp/multipartBody7311046352208988811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748527546,"filename":"image_14042025_13_39_02_0145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be5d560c2ff011698d427374780d484c.jpg","text":"TemporaryFile(/tmp/multipartBody688999396691151317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748527546,"filename":"image_14042025_13_38_01_5483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70c3c0c624b43c14defcb5d0160bad13.jpg","text":"TemporaryFile(/tmp/multipartBody2544481356726171645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748527546,"filename":"image_14042025_13_41_02_1324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cf8f7d377cf5e4c3cf3c953db4d98b1.jpg","text":"TemporaryFile(/tmp/multipartBody6820653939745168233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748527546,"filename":"image_14042025_13_37_02_1682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d06d29bc7006bf10d75fe4e8799418e.jpg","text":"TemporaryFile(/tmp/multipartBody3000310715335807493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748527546,"filename":"image_14042025_13_40_01_6908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/433ce07d5dd3e219d2572ee8d6574305.jpg","text":"TemporaryFile(/tmp/multipartBody2793222298173008598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748527546,"filename":"image_14042025_13_36_01_6092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350038309","file1":"1350038235","file0":"1350038173","file4":"1350038736","file5":"1350038919","file3":"1350038491"},"map_files_photo_id_array":[{"photo_id":"1350038919","filename":"file5"},{"photo_id":"1350038309","filename":"file2"},{"photo_id":"1350038736","filename":"file4"},{"photo_id":"1350038235","filename":"file1"},{"photo_id":"1350038173","filename":"file0"},{"photo_id":"1350038491","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350038309":["hashtag1","hashtag2"]},{"1350038491":["hashtag1","hashtag2"]},{"1350038173":["hashtag1","hashtag2"]},{"1350038736":["hashtag1","hashtag2"]},{"1350038235":["hashtag1","hashtag2"]},{"1350038919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350038309, 1350038491, 1350038173, 1350038736, 1350038235, 1350038919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.830302000045776 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:23:03.160441
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/23/image_15042025_22_23_02_0486.jpg', 2), ('/home/pi/Desktop/images/15042025/22/18/image_15042025_22_18_01_6361.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/23/image_15042025_22_23_02_0486.jpg', '/home/pi/Desktop/images/15042025/22/18/image_15042025_22_18_01_6361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/23/image_15042025_22_23_02_0486.jpg
/home/pi/Desktop/images/15042025/22/18/image_15042025_22_18_01_6361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350039662","1350039719"],"photo_ids_order":["1350039662","1350039719"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/115bea268a7e4fa02676efb0dd5950ce.jpg","text":"TemporaryFile(/tmp/multipartBody8657573782180474120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748644409,"filename":"image_15042025_22_23_02_0486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f79a217a17dac44b643f02f7f8f6ed37.jpg","text":"TemporaryFile(/tmp/multipartBody2446810807755524161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748644409,"filename":"image_15042025_22_18_01_6361.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350039719","file0":"1350039662"},"map_files_photo_id_array":[{"photo_id":"1350039719","filename":"file1"},{"photo_id":"1350039662","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350039662":["hashtag1","hashtag2"]},{"1350039719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350039662, 1350039719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.15526843070984 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:24:02.810574
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/22/image_15042025_22_22_01_3538.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/22/image_15042025_22_22_01_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/22/image_15042025_22_22_01_3538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350040107"],"photo_id":"1350040107","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8fe7d4621ec95b3a0d86bd0c3b2fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody8489198461495327657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748703557,"filename":"image_15042025_22_22_01_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350040107"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350040107"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.58143186569214 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:25:07.768766
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/24/image_15042025_22_24_01_4675.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/24/image_15042025_22_24_01_4675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/24/image_15042025_22_24_01_4675.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350041289"],"photo_id":"1350041289","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/970aee54f51f44f2d1de216bc8459fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7688439623702863617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748769654,"filename":"image_15042025_22_24_01_4675.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350041289"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350041289"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.773681879043579 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:26:06.503946
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_01_1754.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_01_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_01_1754.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.899726390838623 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 : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:27:04.281271
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/26/image_15042025_22_26_01_9170.jpg', 2), ('/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_01_1754.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/26/image_15042025_22_26_01_9170.jpg', '/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_01_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/26/image_15042025_22_26_01_9170.jpg
/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_01_1754.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350042496","1350042454"],"photo_ids_order":["1350042454","1350042496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/512027070ba3c645b2bae8c2843926d1.jpg","text":"TemporaryFile(/tmp/multipartBody5997081591504180398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748886097,"filename":"image_15042025_22_25_01_1754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8e94537dcd5e3ac2cb445b65aa40bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7313310309905784995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748886097,"filename":"image_15042025_22_26_01_9170.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350042496","file0":"1350042454"},"map_files_photo_id_array":[{"photo_id":"1350042496","filename":"file1"},{"photo_id":"1350042454","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350042496":["hashtag1","hashtag2"]},{"1350042454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350042496, 1350042454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.166131019592285 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:28:02.888623
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/27/image_15042025_22_27_01_7946.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/27/image_15042025_22_27_01_7946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/27/image_15042025_22_27_01_7946.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350042653"],"photo_id":"1350042653","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/874da8eb1d0a4d0936cd211886896074.jpg","text":"TemporaryFile(/tmp/multipartBody6467701829097258656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748943686,"filename":"image_15042025_22_27_01_7946.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350042653"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350042653"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.43776822090149 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:29:03.712465
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/28/image_15042025_22_28_01_6466.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/28/image_15042025_22_28_01_6466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/28/image_15042025_22_28_01_6466.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350042996"],"photo_id":"1350042996","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0d9800f04c2014ee9b43da77dc1e1e4.jpg","text":"TemporaryFile(/tmp/multipartBody8606261008940764713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749004553,"filename":"image_15042025_22_28_01_6466.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350042996"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350042996"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.813353061676025 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:30:02.864010
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/29/image_15042025_22_29_01_5827.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/29/image_15042025_22_29_01_5827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/29/image_15042025_22_29_01_5827.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350043379"],"photo_id":"1350043379","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb7095bea76dccfe44027f706bbb8cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7421122105104995326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749063727,"filename":"image_15042025_22_29_01_5827.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350043379"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350043379"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.676229000091553 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:31:03.044314
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/30/image_15042025_22_30_01_8952.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/30/image_15042025_22_30_01_8952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/30/image_15042025_22_30_01_8952.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350043828"],"photo_id":"1350043828","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/940da2f8ae93abc74bd3772ce5638788.jpg","text":"TemporaryFile(/tmp/multipartBody7371929168136411879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749123846,"filename":"image_15042025_22_30_01_8952.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350043828"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350043828"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.609169483184814 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:32:03.497987
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/31/image_15042025_22_31_01_5505.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/31/image_15042025_22_31_01_5505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/31/image_15042025_22_31_01_5505.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350044254"],"photo_id":"1350044254","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3341d19b871a447a64b5fac9efebdbe.jpg","text":"TemporaryFile(/tmp/multipartBody1710183053837157292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749184271,"filename":"image_15042025_22_31_01_5505.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350044254"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350044254"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.086955785751343 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:33:03.243742
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/32/image_15042025_22_32_01_3280.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/32/image_15042025_22_32_01_3280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/32/image_15042025_22_32_01_3280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350045286"],"photo_id":"1350045286","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a06e7351f4a0d3359afbed09f330d1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6107726540302937727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749244072,"filename":"image_15042025_22_32_01_3280.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350045286"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350045286"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.421709299087524 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:34:02.734264
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/33/image_15042025_22_33_02_1738.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/33/image_15042025_22_33_02_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/33/image_15042025_22_33_02_1738.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350046925"],"photo_id":"1350046925","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37582ea0a28afc9811c4eb933e17b783.jpg","text":"TemporaryFile(/tmp/multipartBody5780546489032760413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749303628,"filename":"image_15042025_22_33_02_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350046925"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350046925"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.014734029769897 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:35:03.492973
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/34/image_15042025_22_34_01_5684.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/34/image_15042025_22_34_01_5684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/34/image_15042025_22_34_01_5684.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350047652"],"photo_id":"1350047652","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ff2317b1d647269fda56ab8900228cd.jpg","text":"TemporaryFile(/tmp/multipartBody36405990712994710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749364351,"filename":"image_15042025_22_34_01_5684.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350047652"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350047652"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.111309051513672 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:36:02.942067
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/35/image_15042025_22_35_01_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/35/image_15042025_22_35_01_4071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/35/image_15042025_22_35_01_4071.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048349"],"photo_id":"1350048349","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9950579720ff0a02dee1de5e001676f.jpg","text":"TemporaryFile(/tmp/multipartBody77887525206217011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749423751,"filename":"image_15042025_22_35_01_4071.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350048349"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350048349"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.134197235107422 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:37:03.645060
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/36/image_15042025_22_36_01_8077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/36/image_15042025_22_36_01_8077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/36/image_15042025_22_36_01_8077.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048597"],"photo_id":"1350048597","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39bc42e54964c18785ce495fa08598c5.jpg","text":"TemporaryFile(/tmp/multipartBody2262203584504312452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749484481,"filename":"image_15042025_22_36_01_8077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350048597"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350048597"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.970649480819702 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:38:03.053706
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/37/image_15042025_22_37_01_6146.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/37/image_15042025_22_37_01_6146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/37/image_15042025_22_37_01_6146.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048922"],"photo_id":"1350048922","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd7dad8c4012ca7098d7bf88833e4183.jpg","text":"TemporaryFile(/tmp/multipartBody309635380443503449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749543845,"filename":"image_15042025_22_37_01_6146.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350048922"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350048922"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.586540460586548 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:39:03.798284
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/38/image_15042025_22_38_01_8876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/38/image_15042025_22_38_01_8876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/38/image_15042025_22_38_01_8876.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350049387"],"photo_id":"1350049387","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68f0a63b7009a837b8e98fe6481489d7.jpg","text":"TemporaryFile(/tmp/multipartBody2559488385858109352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749604642,"filename":"image_15042025_22_38_01_8876.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350049387"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350049387"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.274955749511719 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:40:02.852039
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/39/image_15042025_22_39_01_8157.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/39/image_15042025_22_39_01_8157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/39/image_15042025_22_39_01_8157.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350049764"],"photo_id":"1350049764","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e69412979b4077aa9fb76523179f324.jpg","text":"TemporaryFile(/tmp/multipartBody6183652486903895317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749663643,"filename":"image_15042025_22_39_01_8157.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350049764"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350049764"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.148250102996826 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:41:03.610615
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/40/image_15042025_22_40_01_9524.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/40/image_15042025_22_40_01_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/40/image_15042025_22_40_01_9524.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050345"],"photo_id":"1350050345","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a05ebf7c2acfdc67f98208e14a3c57f3.jpg","text":"TemporaryFile(/tmp/multipartBody7029678191824847953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749724463,"filename":"image_15042025_22_40_01_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350050345"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350050345"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.692774772644043 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:42:03.526294
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/41/image_15042025_22_41_01_5837.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/41/image_15042025_22_41_01_5837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/41/image_15042025_22_41_01_5837.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050579"],"photo_id":"1350050579","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a12d8db025df654545e5b98cc0138239.jpg","text":"TemporaryFile(/tmp/multipartBody8109759820226107310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749784340,"filename":"image_15042025_22_41_01_5837.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350050579"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350050579"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.981989622116089 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:43:03.382787
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/42/image_15042025_22_42_01_9013.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/42/image_15042025_22_42_01_9013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/42/image_15042025_22_42_01_9013.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050775"],"photo_id":"1350050775","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c21b363ceb16ca2710a3747760e30955.jpg","text":"TemporaryFile(/tmp/multipartBody4079617654720837517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749844231,"filename":"image_15042025_22_42_01_9013.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350050775"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350050775"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.763053178787231 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:44:02.962258
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/43/image_15042025_22_43_02_1302.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/43/image_15042025_22_43_02_1302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/43/image_15042025_22_43_02_1302.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350051238"],"photo_id":"1350051238","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d065f3d54c3b6f02082aea96336ea05.jpg","text":"TemporaryFile(/tmp/multipartBody7646677279426228050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749903766,"filename":"image_15042025_22_43_02_1302.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350051238"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350051238"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.742194652557373 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:45:03.583508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_01_5089.jpg', 2), ('/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_01_5257.jpg', 2), ('/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_01_2377.jpg', 2), ('/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_01_9472.jpg', 2), ('/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_01_6115.jpg', 2), ('/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_01_3719.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_01_5089.jpg', '/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_01_5257.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_01_2377.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_01_9472.jpg', '/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_01_6115.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_01_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_01_5089.jpg
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_01_5257.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_01_2377.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_01_9472.jpg
/home/pi/Desktop/images/14042025/13/30/image_14042025_13_30_01_6115.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_01_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350052688","1350052265","1350053017","1350052828","1350053172","1350052401"],"photo_ids_order":["1350052265","1350052401","1350052688","1350052828","1350053017","1350053172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc81315d627ff92676cfb1d1b4e62929.jpg","text":"TemporaryFile(/tmp/multipartBody3472765732783601897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749967872,"filename":"image_14042025_13_33_01_2377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22349e6e06b17b246c16954a6d8b49ac.jpg","text":"TemporaryFile(/tmp/multipartBody7711329264644851238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749967872,"filename":"image_14042025_13_35_01_5089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ab299d30daa023f30a70df99731049c.jpg","text":"TemporaryFile(/tmp/multipartBody3871553462498904504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749967872,"filename":"image_14042025_13_30_01_6115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e9601de5f5113be5c439bdf221cf799.jpg","text":"TemporaryFile(/tmp/multipartBody5076401028768049682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749967872,"filename":"image_14042025_13_31_01_9472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b25d7e1bafff2844da84cd98ba392d9.jpg","text":"TemporaryFile(/tmp/multipartBody284415806804755711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749967872,"filename":"image_14042025_13_29_01_3719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75522abb54eff2fc5f07a7b1c602aa29.jpg","text":"TemporaryFile(/tmp/multipartBody8663251973881591404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749967872,"filename":"image_14042025_13_34_01_5257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350052688","file1":"1350052401","file0":"1350052265","file4":"1350053017","file5":"1350053172","file3":"1350052828"},"map_files_photo_id_array":[{"photo_id":"1350053172","filename":"file5"},{"photo_id":"1350052688","filename":"file2"},{"photo_id":"1350053017","filename":"file4"},{"photo_id":"1350052401","filename":"file1"},{"photo_id":"1350052265","filename":"file0"},{"photo_id":"1350052828","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350052688":["hashtag1","hashtag2"]},{"1350052265":["hashtag1","hashtag2"]},{"1350053017":["hashtag1","hashtag2"]},{"1350052828":["hashtag1","hashtag2"]},{"1350053172":["hashtag1","hashtag2"]},{"1350052401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350052688, 1350052265, 1350053017, 1350052828, 1350053172, 1350052401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.24317812919617 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:47:04.005346
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/46/image_15042025_22_46_01_9367.jpg', 2), ('/home/pi/Desktop/images/15042025/22/44/image_15042025_22_44_01_7901.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/46/image_15042025_22_46_01_9367.jpg', '/home/pi/Desktop/images/15042025/22/44/image_15042025_22_44_01_7901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/46/image_15042025_22_46_01_9367.jpg
/home/pi/Desktop/images/15042025/22/44/image_15042025_22_44_01_7901.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350053809","1350053824"],"photo_ids_order":["1350053809","1350053824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f566527807394113f554759a31e211af.jpg","text":"TemporaryFile(/tmp/multipartBody1257734100557087020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750085326,"filename":"image_15042025_22_46_01_9367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ef73eee00cd2493a623d71f803179da.jpg","text":"TemporaryFile(/tmp/multipartBody1953627015803765255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750085326,"filename":"image_15042025_22_44_01_7901.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350053824","file0":"1350053809"},"map_files_photo_id_array":[{"photo_id":"1350053824","filename":"file1"},{"photo_id":"1350053809","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350053809":["hashtag1","hashtag2"]},{"1350053824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350053809, 1350053824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.769341707229614 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:48:03.181057
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/47/image_15042025_22_47_01_8255.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/47/image_15042025_22_47_01_8255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/47/image_15042025_22_47_01_8255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350054306"],"photo_id":"1350054306","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad83dc3365a9fc728ca0deb07ec6654c.jpg","text":"TemporaryFile(/tmp/multipartBody190494252976227882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750143998,"filename":"image_15042025_22_47_01_8255.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350054306"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350054306"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.331672430038452 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:49:03.821944
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/48/image_15042025_22_48_02_1564.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/48/image_15042025_22_48_02_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/48/image_15042025_22_48_02_1564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350054562"],"photo_id":"1350054562","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/698476c8665332d4e9b5ae990ecf11c1.jpg","text":"TemporaryFile(/tmp/multipartBody6531145713263665890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750204585,"filename":"image_15042025_22_48_02_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350054562"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350054562"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.307122468948364 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:50:03.090525
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/49/image_15042025_22_49_01_7980.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/49/image_15042025_22_49_01_7980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/49/image_15042025_22_49_01_7980.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350055959"],"photo_id":"1350055959","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59491bebf49f057b43a0b329793c4802.jpg","text":"TemporaryFile(/tmp/multipartBody6880685220407270517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750263867,"filename":"image_15042025_22_49_01_7980.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350055959"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350055959"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.348527193069458 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:51:03.878338
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/50/image_15042025_22_50_02_1137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/50/image_15042025_22_50_02_1137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/50/image_15042025_22_50_02_1137.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350056568"],"photo_id":"1350056568","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2fc74801be9fb4664c3bd7e33a4a61.jpg","text":"TemporaryFile(/tmp/multipartBody4825653601005255884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750324721,"filename":"image_15042025_22_50_02_1137.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350056568"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350056568"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.474185705184937 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:52:02.982782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_02_1277.jpg', 2), ('/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_02_0716.jpg', 2), ('/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_01_8003.jpg', 2), ('/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_01_7583.jpg', 2), ('/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_02_0161.jpg', 2), ('/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_01_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_02_1277.jpg', '/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_02_0716.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_01_8003.jpg', '/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_01_7583.jpg', '/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_02_0161.jpg', '/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_01_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_02_1277.jpg
/home/pi/Desktop/images/14042025/13/27/image_14042025_13_27_02_0716.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_01_8003.jpg
/home/pi/Desktop/images/14042025/13/25/image_14042025_13_25_01_7583.jpg
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_02_0161.jpg
/home/pi/Desktop/images/14042025/13/23/image_14042025_13_23_01_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350057248","1350056948","1350057019","1350057001","1350057312","1350057120"],"photo_ids_order":["1350056948","1350057001","1350057019","1350057120","1350057248","1350057312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88f10674c941a20383da55efb1396de8.jpg","text":"TemporaryFile(/tmp/multipartBody1695367496542688566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750387251,"filename":"image_14042025_13_24_02_0161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41f821f07323f633b3fd2cae39e95be8.jpg","text":"TemporaryFile(/tmp/multipartBody5948591538001515002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750387251,"filename":"image_14042025_13_28_02_1277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c8ff779887bdc8ed492458b6ed77efa.jpg","text":"TemporaryFile(/tmp/multipartBody5433951150622746134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750387251,"filename":"image_14042025_13_26_01_8003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5862e88b5d6cd99600e880c71e3d3c78.jpg","text":"TemporaryFile(/tmp/multipartBody4864452740044092866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750387251,"filename":"image_14042025_13_27_02_0716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0748fe1ed46a7f44f0aac3059a43e42.jpg","text":"TemporaryFile(/tmp/multipartBody828076252803494694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750387251,"filename":"image_14042025_13_23_01_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c6c89cc9f49d1ee71cab5cbd1903c04.jpg","text":"TemporaryFile(/tmp/multipartBody5512314979441479995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750387251,"filename":"image_14042025_13_25_01_7583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350057019","file1":"1350057001","file0":"1350056948","file4":"1350057248","file5":"1350057312","file3":"1350057120"},"map_files_photo_id_array":[{"photo_id":"1350057312","filename":"file5"},{"photo_id":"1350057019","filename":"file2"},{"photo_id":"1350057248","filename":"file4"},{"photo_id":"1350057001","filename":"file1"},{"photo_id":"1350056948","filename":"file0"},{"photo_id":"1350057120","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350057248":["hashtag1","hashtag2"]},{"1350056948":["hashtag1","hashtag2"]},{"1350057019":["hashtag1","hashtag2"]},{"1350057001":["hashtag1","hashtag2"]},{"1350057312":["hashtag1","hashtag2"]},{"1350057120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350057248, 1350056948, 1350057019, 1350057001, 1350057312, 1350057120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.81290602684021 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:54:02.855479
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/53/image_15042025_22_53_01_6510.jpg', 2), ('/home/pi/Desktop/images/15042025/22/51/image_15042025_22_51_01_7308.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/53/image_15042025_22_53_01_6510.jpg', '/home/pi/Desktop/images/15042025/22/51/image_15042025_22_51_01_7308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/53/image_15042025_22_53_01_6510.jpg
/home/pi/Desktop/images/15042025/22/51/image_15042025_22_51_01_7308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350057720","1350057789"],"photo_ids_order":["1350057720","1350057789"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84af758e300fcfed69a16af014d0fd92.jpg","text":"TemporaryFile(/tmp/multipartBody6188139867428759525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750504192,"filename":"image_15042025_22_53_01_6510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34d3b7c56424ad580030f6a06a29a9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2348434939045770072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750504192,"filename":"image_15042025_22_51_01_7308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350057789","file0":"1350057720"},"map_files_photo_id_array":[{"photo_id":"1350057789","filename":"file1"},{"photo_id":"1350057720","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350057720":["hashtag1","hashtag2"]},{"1350057789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350057720, 1350057789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 29.566003561019897 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:55:03.720045
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/54/image_15042025_22_54_01_9907.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/54/image_15042025_22_54_01_9907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/54/image_15042025_22_54_01_9907.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350057997"],"photo_id":"1350057997","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff577e7068c839bcb558f51542341968.jpg","text":"TemporaryFile(/tmp/multipartBody7521214252293057110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750564529,"filename":"image_15042025_22_54_01_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350057997"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350057997"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.948092699050903 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:56:02.855124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_01_8389.jpg', 2), ('/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_02_1990.jpg', 2), ('/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_02_1240.jpg', 2), ('/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_01_2769.jpg', 2), ('/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_02_3102.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_01_8389.jpg', '/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_01_5420.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_02_1990.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_02_1240.jpg', '/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_01_2769.jpg', '/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_02_3102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_01_8389.jpg
/home/pi/Desktop/images/14042025/13/21/image_14042025_13_21_01_5420.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_02_1990.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_02_1240.jpg
/home/pi/Desktop/images/14042025/13/18/image_14042025_13_18_01_2769.jpg
/home/pi/Desktop/images/14042025/13/17/image_14042025_13_17_02_3102.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350058250","1350058319","1350058127","1350058412","1350058099","1350058156"],"photo_ids_order":["1350058099","1350058127","1350058156","1350058250","1350058319","1350058412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c92712a346c3acf1cce4ba155272fb27.jpg","text":"TemporaryFile(/tmp/multipartBody4744911618820537613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750627072,"filename":"image_14042025_13_19_02_1240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b075bb770e04749f633e93be3dbb3f2.jpg","text":"TemporaryFile(/tmp/multipartBody3074734261517439973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750627072,"filename":"image_14042025_13_18_01_2769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/034e24521b40074f5889d53a70269b34.jpg","text":"TemporaryFile(/tmp/multipartBody1839660816413361380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750627072,"filename":"image_14042025_13_21_01_5420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/facf6388095bd093e401396164f90010.jpg","text":"TemporaryFile(/tmp/multipartBody677905371953399702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750627072,"filename":"image_14042025_13_17_02_3102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b03d29d2abead45c070983d2132c1f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8899156554222780718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750627072,"filename":"image_14042025_13_22_01_8389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73582a8f4066ca1c789bcef92cb7a4cf.jpg","text":"TemporaryFile(/tmp/multipartBody6562855729653513575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750627072,"filename":"image_14042025_13_20_02_1990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350058156","file1":"1350058127","file0":"1350058099","file4":"1350058319","file5":"1350058412","file3":"1350058250"},"map_files_photo_id_array":[{"photo_id":"1350058412","filename":"file5"},{"photo_id":"1350058156","filename":"file2"},{"photo_id":"1350058319","filename":"file4"},{"photo_id":"1350058127","filename":"file1"},{"photo_id":"1350058099","filename":"file0"},{"photo_id":"1350058250","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350058250":["hashtag1","hashtag2"]},{"1350058319":["hashtag1","hashtag2"]},{"1350058127":["hashtag1","hashtag2"]},{"1350058412":["hashtag1","hashtag2"]},{"1350058099":["hashtag1","hashtag2"]},{"1350058156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350058250, 1350058319, 1350058127, 1350058412, 1350058099, 1350058156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.60249471664429 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 22:59:04.054058
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/22/55/image_15042025_22_55_01_6580.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/55/image_15042025_22_55_01_6580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/22/55/image_15042025_22_55_01_6580.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059630"],"photo_id":"1350059630","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87a9cac762569d8fd12fbb0755270731.jpg","text":"TemporaryFile(/tmp/multipartBody5561378358245307446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750804877,"filename":"image_15042025_22_55_01_6580.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350059630"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350059630"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.853022813796997 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:00:03.237256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_01_4140.jpg', 2), ('/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_01_6712.jpg', 2), ('/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_01_3894.jpg', 2), ('/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_01_1922.jpg', 2), ('/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_02_2492.jpg', 2), ('/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_01_6374.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_01_4140.jpg', '/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_01_6712.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_01_3894.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_01_1922.jpg', '/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_02_2492.jpg', '/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_01_6374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_01_4140.jpg
/home/pi/Desktop/images/14042025/13/15/image_14042025_13_15_01_6712.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_01_3894.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_01_1922.jpg
/home/pi/Desktop/images/14042025/13/11/image_14042025_13_11_02_2492.jpg
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_01_6374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059938","1350059836","1350059823","1350059928","1350059876","1350059861"],"photo_ids_order":["1350059823","1350059836","1350059861","1350059876","1350059928","1350059938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b460134e58da246246f0436a0505a59e.jpg","text":"TemporaryFile(/tmp/multipartBody3454939971389017100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750867680,"filename":"image_14042025_13_10_01_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d01ddcecdec25eb73dae7d6760221b27.jpg","text":"TemporaryFile(/tmp/multipartBody7241496574094166144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750867680,"filename":"image_14042025_13_15_01_6712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbb5b2c3458ed23f2c9d4608cc0d83a9.jpg","text":"TemporaryFile(/tmp/multipartBody9022988878278717671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750867680,"filename":"image_14042025_13_16_01_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35a8aec25616425c0c8320dbce3e2420.jpg","text":"TemporaryFile(/tmp/multipartBody5481673747755540879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750867680,"filename":"image_14042025_13_11_02_2492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1033ef74a675e8b392b3b892301aba9e.jpg","text":"TemporaryFile(/tmp/multipartBody3329243750669349154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750867680,"filename":"image_14042025_13_13_01_1922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b62b31fbd9f3488b8d95b880550dd8ba.jpg","text":"TemporaryFile(/tmp/multipartBody1831593186920925665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750867680,"filename":"image_14042025_13_14_01_3894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350059861","file1":"1350059836","file0":"1350059823","file4":"1350059928","file5":"1350059938","file3":"1350059876"},"map_files_photo_id_array":[{"photo_id":"1350059938","filename":"file5"},{"photo_id":"1350059861","filename":"file2"},{"photo_id":"1350059928","filename":"file4"},{"photo_id":"1350059836","filename":"file1"},{"photo_id":"1350059823","filename":"file0"},{"photo_id":"1350059876","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350059938":["hashtag1","hashtag2"]},{"1350059836":["hashtag1","hashtag2"]},{"1350059823":["hashtag1","hashtag2"]},{"1350059928":["hashtag1","hashtag2"]},{"1350059876":["hashtag1","hashtag2"]},{"1350059861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350059938, 1350059836, 1350059823, 1350059928, 1350059876, 1350059861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.08920693397522 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:02:03.059753
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/01/image_15042025_23_01_01_9706.jpg', 2), ('/home/pi/Desktop/images/15042025/22/57/image_15042025_22_57_01_5515.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/01/image_15042025_23_01_01_9706.jpg', '/home/pi/Desktop/images/15042025/22/57/image_15042025_22_57_01_5515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/01/image_15042025_23_01_01_9706.jpg
/home/pi/Desktop/images/15042025/22/57/image_15042025_22_57_01_5515.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060071","1350060059"],"photo_ids_order":["1350060059","1350060071"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53e93c245cdfd28423a6ba538a939bca.jpg","text":"TemporaryFile(/tmp/multipartBody347546416750884242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750984427,"filename":"image_15042025_22_57_01_5515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/268117a0c1cb5a89e4d36f947c17ca9a.jpg","text":"TemporaryFile(/tmp/multipartBody3795545761450230684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750984427,"filename":"image_15042025_23_01_01_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350060071","file0":"1350060059"},"map_files_photo_id_array":[{"photo_id":"1350060071","filename":"file1"},{"photo_id":"1350060059","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350060071":["hashtag1","hashtag2"]},{"1350060059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350060071, 1350060059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.541373014450073 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:03:03.801170
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/02/image_15042025_23_02_02_1504.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/02/image_15042025_23_02_02_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/02/image_15042025_23_02_02_1504.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060179"],"photo_id":"1350060179","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d7dadaa8ab5c469f90ece76a5b4e845.jpg","text":"TemporaryFile(/tmp/multipartBody2358501026034380826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751044592,"filename":"image_15042025_23_02_02_1504.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350060179"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350060179"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.452483654022217 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:04:03.189833
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/03/image_15042025_23_03_01_7469.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/03/image_15042025_23_03_01_7469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/03/image_15042025_23_03_01_7469.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060400"],"photo_id":"1350060400","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aef507152e5762128370b5d2b0d24593.jpg","text":"TemporaryFile(/tmp/multipartBody2118305021711519189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751103968,"filename":"image_15042025_23_03_01_7469.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350060400"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350060400"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.31308078765869 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:05:03.950346
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/04/image_15042025_23_04_02_1231.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/04/image_15042025_23_04_02_1231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/04/image_15042025_23_04_02_1231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060834"],"photo_id":"1350060834","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2eedf0628103cfec95e96d063a3b7bec.jpg","text":"TemporaryFile(/tmp/multipartBody3580134027135462495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751164809,"filename":"image_15042025_23_04_02_1231.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350060834"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350060834"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.370229482650757 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:06:03.361947
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/05/image_15042025_23_05_01_8039.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/05/image_15042025_23_05_01_8039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/05/image_15042025_23_05_01_8039.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350061207"],"photo_id":"1350061207","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96b9017c5f4789c75f0076729a590ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4339607419975318756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751224217,"filename":"image_15042025_23_05_01_8039.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350061207"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350061207"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.812567472457886 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:07:04.075882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_01_9523.jpg', 2), ('/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_01_7536.jpg', 2), ('/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_02_1626.jpg', 2), ('/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_01_9399.jpg', 2), ('/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_02_0678.jpg', 2), ('/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_01_8681.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_01_9523.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_01_7536.jpg', '/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_02_1626.jpg', '/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_01_9399.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_02_0678.jpg', '/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_01_8681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/08/image_14042025_13_08_01_9523.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_01_7536.jpg
/home/pi/Desktop/images/14042025/13/06/image_14042025_13_06_02_1626.jpg
/home/pi/Desktop/images/14042025/13/05/image_14042025_13_05_01_9399.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_02_0678.jpg
/home/pi/Desktop/images/14042025/13/03/image_14042025_13_03_01_8681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350061891","1350062017","1350061948","1350061756","1350062011","1350061820"],"photo_ids_order":["1350061756","1350061820","1350061891","1350061948","1350062011","1350062017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ac6a6bfd710f5d86463db53bed52356.jpg","text":"TemporaryFile(/tmp/multipartBody3876860631046328842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751288783,"filename":"image_14042025_13_06_02_1626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bf6009bc9afef0d3af033100cccca18.jpg","text":"TemporaryFile(/tmp/multipartBody3105720992421069481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751288783,"filename":"image_14042025_13_03_01_8681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be494ac86ae4221c76d10c223b078c7.jpg","text":"TemporaryFile(/tmp/multipartBody7154899492127065202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751288783,"filename":"image_14042025_13_05_01_9399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c08ca43a86113bd09d504597fe82fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1751205985981677134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751288783,"filename":"image_14042025_13_08_01_9523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fc79b0a527429317cd6f294cd74b2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3996815490814881250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751288783,"filename":"image_14042025_13_04_02_0678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d40ede8c74f7a64ea7a78c11901e62a6.jpg","text":"TemporaryFile(/tmp/multipartBody1244655814971945405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751288783,"filename":"image_14042025_13_07_01_7536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350061891","file1":"1350061820","file0":"1350061756","file4":"1350062011","file5":"1350062017","file3":"1350061948"},"map_files_photo_id_array":[{"photo_id":"1350062017","filename":"file5"},{"photo_id":"1350061891","filename":"file2"},{"photo_id":"1350062011","filename":"file4"},{"photo_id":"1350061820","filename":"file1"},{"photo_id":"1350061756","filename":"file0"},{"photo_id":"1350061948","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350061891":["hashtag1","hashtag2"]},{"1350062017":["hashtag1","hashtag2"]},{"1350061948":["hashtag1","hashtag2"]},{"1350061756":["hashtag1","hashtag2"]},{"1350062011":["hashtag1","hashtag2"]},{"1350061820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350061891, 1350062017, 1350061948, 1350061756, 1350062011, 1350061820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.10460901260376 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:09:03.941056
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/08/image_15042025_23_08_02_2341.jpg', 2), ('/home/pi/Desktop/images/15042025/23/06/image_15042025_23_06_02_1198.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/08/image_15042025_23_08_02_2341.jpg', '/home/pi/Desktop/images/15042025/23/06/image_15042025_23_06_02_1198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/08/image_15042025_23_08_02_2341.jpg
/home/pi/Desktop/images/15042025/23/06/image_15042025_23_06_02_1198.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062314","1350062261"],"photo_ids_order":["1350062261","1350062314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9d3761b61a65d7ffdf9e8f69b95a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody662823487530991847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751405125,"filename":"image_15042025_23_06_02_1198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b9b84ed6e5bbdd01fd524b42a3ec8cc.jpg","text":"TemporaryFile(/tmp/multipartBody2694440174714127654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751405125,"filename":"image_15042025_23_08_02_2341.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350062314","file0":"1350062261"},"map_files_photo_id_array":[{"photo_id":"1350062314","filename":"file1"},{"photo_id":"1350062261","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350062314":["hashtag1","hashtag2"]},{"1350062261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350062314, 1350062261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.35393977165222 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:10:03.301863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_02_0663.jpg', 2), ('/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_02_1188.jpg', 2), ('/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_01_8467.jpg', 2), ('/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_01_3319.jpg', 2), ('/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_01_4670.jpg', 2), ('/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_01_5630.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_02_0663.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_02_1188.jpg', '/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_01_8467.jpg', '/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_01_3319.jpg', '/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_01_4670.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_01_5630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_02_0663.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_02_1188.jpg
/home/pi/Desktop/images/14042025/12/59/image_14042025_12_59_01_8467.jpg
/home/pi/Desktop/images/14042025/12/58/image_14042025_12_58_01_3319.jpg
/home/pi/Desktop/images/14042025/12/56/image_14042025_12_56_01_4670.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_01_5630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062734","1350062583","1350062639","1350062633","1350062770","1350062650"],"photo_ids_order":["1350062583","1350062633","1350062639","1350062650","1350062734","1350062770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdeb05d7ccc1478e20ccfbeba60dfab0.jpg","text":"TemporaryFile(/tmp/multipartBody3331345842321761774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751467864,"filename":"image_14042025_12_56_01_4670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d86bbad91692a1680c21ace488ec340.jpg","text":"TemporaryFile(/tmp/multipartBody7354084169834124359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751467864,"filename":"image_14042025_13_02_02_0663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5af12bed5ac233e232190afc836955a.jpg","text":"TemporaryFile(/tmp/multipartBody2931603478986613377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751467864,"filename":"image_14042025_12_59_01_8467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28dce398f3463d512249ffe2940e04c3.jpg","text":"TemporaryFile(/tmp/multipartBody71470844165025775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751467864,"filename":"image_14042025_13_01_02_1188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a94355c79c2744e19c4d89e01d377e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7176089084189665789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751467864,"filename":"image_14042025_12_55_01_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eda4e6f4a80ef3345a7d5216ecb35acd.jpg","text":"TemporaryFile(/tmp/multipartBody7994161743281608023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751467864,"filename":"image_14042025_12_58_01_3319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350062639","file1":"1350062633","file0":"1350062583","file4":"1350062734","file5":"1350062770","file3":"1350062650"},"map_files_photo_id_array":[{"photo_id":"1350062770","filename":"file5"},{"photo_id":"1350062639","filename":"file2"},{"photo_id":"1350062734","filename":"file4"},{"photo_id":"1350062633","filename":"file1"},{"photo_id":"1350062583","filename":"file0"},{"photo_id":"1350062650","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350062734":["hashtag1","hashtag2"]},{"1350062583":["hashtag1","hashtag2"]},{"1350062639":["hashtag1","hashtag2"]},{"1350062633":["hashtag1","hashtag2"]},{"1350062770":["hashtag1","hashtag2"]},{"1350062650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350062734, 1350062583, 1350062639, 1350062633, 1350062770, 1350062650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.012404918670654 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:12:03.318582
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/13/image_15042025_23_13_01_9196.jpg', 2), ('/home/pi/Desktop/images/15042025/23/09/image_15042025_23_09_02_0075.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/09/image_15042025_23_09_02_0075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/09/image_15042025_23_09_02_0075.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063050"],"photo_id":"1350063050","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d742a66f33b04a10f798c382a121d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2065080960098001549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751584461,"filename":"image_15042025_23_09_02_0075.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350063050"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350063050"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.184180974960327 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/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/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/15042025/23/13/image_15042025_23_13_01_9196.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:13:04.049263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_01_3920.jpg', 2), ('/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_01_3975.jpg', 2), ('/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_02_2984.jpg', 2), ('/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_01_4924.jpg', 2), ('/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_01_9693.jpg', 2), ('/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_02_2495.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_01_3920.jpg', '/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_01_3975.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_02_2984.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_01_4924.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_01_9693.jpg', '/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_02_2495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_01_3920.jpg
/home/pi/Desktop/images/14042025/12/53/image_14042025_12_53_01_3975.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_02_2984.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_01_4924.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_01_9693.jpg
/home/pi/Desktop/images/14042025/12/48/image_14042025_12_48_02_2495.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063114","1350063191","1350063155","1350063098","1350063107","1350063136"],"photo_ids_order":["1350063098","1350063107","1350063114","1350063136","1350063155","1350063191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efa080e668a56c29b2295da401a9c248.jpg","text":"TemporaryFile(/tmp/multipartBody5159546569756026776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751648681,"filename":"image_14042025_12_52_02_2984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe973bc1d14b056660d576c9595de123.jpg","text":"TemporaryFile(/tmp/multipartBody255670401368677966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751648681,"filename":"image_14042025_12_48_02_2495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b952a52d8737b545b6bc0380c734c9ef.jpg","text":"TemporaryFile(/tmp/multipartBody3741557287712057283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751648681,"filename":"image_14042025_12_49_01_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c38b0813e5e0d058dd5062af5095bf80.jpg","text":"TemporaryFile(/tmp/multipartBody5374258601362710225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751648681,"filename":"image_14042025_12_54_01_3920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cff842f2e5bedfc9f9105bce1a7ddd32.jpg","text":"TemporaryFile(/tmp/multipartBody7742597167056620828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751648681,"filename":"image_14042025_12_53_01_3975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64c3e24d8f8ec4085708903ce12ec122.jpg","text":"TemporaryFile(/tmp/multipartBody766844057486111559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751648681,"filename":"image_14042025_12_50_01_4924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063114","file1":"1350063107","file0":"1350063098","file4":"1350063155","file5":"1350063191","file3":"1350063136"},"map_files_photo_id_array":[{"photo_id":"1350063191","filename":"file5"},{"photo_id":"1350063114","filename":"file2"},{"photo_id":"1350063155","filename":"file4"},{"photo_id":"1350063107","filename":"file1"},{"photo_id":"1350063098","filename":"file0"},{"photo_id":"1350063136","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350063114":["hashtag1","hashtag2"]},{"1350063191":["hashtag1","hashtag2"]},{"1350063155":["hashtag1","hashtag2"]},{"1350063098":["hashtag1","hashtag2"]},{"1350063107":["hashtag1","hashtag2"]},{"1350063136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350063114, 1350063191, 1350063155, 1350063098, 1350063107, 1350063136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.74514150619507 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:15:03.722249
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/14/image_15042025_23_14_02_3257.jpg', 2), ('/home/pi/Desktop/images/15042025/23/11/image_15042025_23_11_01_9879.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/14/image_15042025_23_14_02_3257.jpg', '/home/pi/Desktop/images/15042025/23/11/image_15042025_23_11_01_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/14/image_15042025_23_14_02_3257.jpg
/home/pi/Desktop/images/15042025/23/11/image_15042025_23_11_01_9879.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063408","1350063355"],"photo_ids_order":["1350063355","1350063408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f609175abcf6a980db96f76a315882b1.jpg","text":"TemporaryFile(/tmp/multipartBody4004420202556156546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751764939,"filename":"image_15042025_23_11_01_9879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cdd0bff3dbff492909bc23fc1ec38b3.jpg","text":"TemporaryFile(/tmp/multipartBody8627652453110643047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751764939,"filename":"image_15042025_23_14_02_3257.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350063408","file0":"1350063355"},"map_files_photo_id_array":[{"photo_id":"1350063408","filename":"file1"},{"photo_id":"1350063355","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350063408":["hashtag1","hashtag2"]},{"1350063355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350063408, 1350063355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.189574241638184 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:16:03.114991
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/15/image_15042025_23_15_01_8073.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/15/image_15042025_23_15_01_8073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/15/image_15042025_23_15_01_8073.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063484"],"photo_id":"1350063484","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/230d9caab6630f1c9548929b0ebf2116.jpg","text":"TemporaryFile(/tmp/multipartBody2367421276773877073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751823884,"filename":"image_15042025_23_15_01_8073.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350063484"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350063484"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.760075092315674 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:17:03.886903
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/16/image_15042025_23_16_01_9996.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/16/image_15042025_23_16_01_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/16/image_15042025_23_16_01_9996.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063571"],"photo_id":"1350063571","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45a2d7cebfb26bac2c434910fcffa71e.jpg","text":"TemporaryFile(/tmp/multipartBody5905488657641372737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751884800,"filename":"image_15042025_23_16_01_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350063571"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350063571"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.80228877067566 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:18:02.693301
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/17/image_15042025_23_17_01_8266.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/17/image_15042025_23_17_01_8266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/17/image_15042025_23_17_01_8266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063958"],"photo_id":"1350063958","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43d6dc46cd2ced104e3935201fc31c94.jpg","text":"TemporaryFile(/tmp/multipartBody2779812206457348457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751943505,"filename":"image_15042025_23_17_01_8266.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350063958"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350063958"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.639954090118408 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:19:03.490113
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/18/image_15042025_23_18_02_1673.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/18/image_15042025_23_18_02_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/18/image_15042025_23_18_02_1673.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064080"],"photo_id":"1350064080","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/961bcfdd1f0335be8e02c254464890aa.jpg","text":"TemporaryFile(/tmp/multipartBody8909227412105974837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752004288,"filename":"image_15042025_23_18_02_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064080"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064080"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.346843004226685 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:20:02.637074
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/19/image_15042025_23_19_01_4113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/19/image_15042025_23_19_01_4113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/19/image_15042025_23_19_01_4113.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064148"],"photo_id":"1350064148","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6656ecf4d8e25dbca97a8ae9796c2366.jpg","text":"TemporaryFile(/tmp/multipartBody7583098757127447740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752063438,"filename":"image_15042025_23_19_01_4113.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064148"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064148"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.708851337432861 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:21:03.455095
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/20/image_15042025_23_20_01_5615.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/20/image_15042025_23_20_01_5615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/20/image_15042025_23_20_01_5615.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064204"],"photo_id":"1350064204","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68cf03811258a755267ae62299b577fb.jpg","text":"TemporaryFile(/tmp/multipartBody1032116533675679442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752124267,"filename":"image_15042025_23_20_01_5615.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064204"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064204"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.803840160369873 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:22:02.644012
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/21/image_15042025_23_21_01_3156.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/21/image_15042025_23_21_01_3156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/21/image_15042025_23_21_01_3156.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064295"],"photo_id":"1350064295","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84e2ce432b9d25210d7e49e60f4e32c5.jpg","text":"TemporaryFile(/tmp/multipartBody7966509976958995840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752183440,"filename":"image_15042025_23_21_01_3156.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064295"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064295"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.782748937606812 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:23:03.416223
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/22/image_15042025_23_22_01_6039.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/22/image_15042025_23_22_01_6039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/22/image_15042025_23_22_01_6039.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064382"],"photo_id":"1350064382","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d936785b469615045d33466fed52baeb.jpg","text":"TemporaryFile(/tmp/multipartBody919562272383732747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752244216,"filename":"image_15042025_23_22_01_6039.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064382"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064382"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.534695148468018 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:24:02.911324
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/23/image_15042025_23_23_01_2570.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/23/image_15042025_23_23_01_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/23/image_15042025_23_23_01_2570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064429"],"photo_id":"1350064429","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9fad22faf29ec235d049456026f22b1.jpg","text":"TemporaryFile(/tmp/multipartBody3333085712407557113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752303721,"filename":"image_15042025_23_23_01_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064429"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064429"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.663034200668335 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:25:07.625918
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/24/image_15042025_23_24_01_5646.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/24/image_15042025_23_24_01_5646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/24/image_15042025_23_24_01_5646.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064482"],"photo_id":"1350064482","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03d502d3cac3bb593723c6b994845353.jpg","text":"TemporaryFile(/tmp/multipartBody6044792193087846924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752369624,"filename":"image_15042025_23_24_01_5646.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064482"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064482"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.2738254070282 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:26:06.719095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_01_9436.jpg', 2), ('/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_01_5951.jpg', 2), ('/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_02_0462.jpg', 2), ('/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_01_6582.jpg', 2), ('/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_01_4305.jpg', 2), ('/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_02_2066.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_01_9436.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_01_5951.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_02_0462.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_01_6582.jpg', '/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_01_4305.jpg', '/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_02_2066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_01_9436.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_01_5951.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_02_0462.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_01_6582.jpg
/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_01_4305.jpg
/home/pi/Desktop/images/14042025/12/40/image_14042025_12_40_02_2066.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064656","1350064635","1350064640","1350064628","1350064663","1350064647"],"photo_ids_order":["1350064628","1350064635","1350064640","1350064647","1350064656","1350064663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f69a84374e167db399f6e09a9f34827b.jpg","text":"TemporaryFile(/tmp/multipartBody1289785982858103758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752431210,"filename":"image_14042025_12_41_01_4305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72371f6dffc7d7dd78fb9e522fd55b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7199087310767734498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752431210,"filename":"image_14042025_12_45_01_5951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09d8ea06bb298c9f4be969e7ca50d8fc.jpg","text":"TemporaryFile(/tmp/multipartBody3145263730741479300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752431210,"filename":"image_14042025_12_43_02_0462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0682f1982ec02d5f357d261ead90f04.jpg","text":"TemporaryFile(/tmp/multipartBody1934318873188320668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752431210,"filename":"image_14042025_12_47_01_9436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28f72acc404d7e135846fb964d8d0ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6046434611983751549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752431210,"filename":"image_14042025_12_40_02_2066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/248df20243073426982535756420dfd8.jpg","text":"TemporaryFile(/tmp/multipartBody3088335790096568210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752431210,"filename":"image_14042025_12_42_01_6582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064640","file1":"1350064635","file0":"1350064628","file4":"1350064656","file5":"1350064663","file3":"1350064647"},"map_files_photo_id_array":[{"photo_id":"1350064663","filename":"file5"},{"photo_id":"1350064640","filename":"file2"},{"photo_id":"1350064656","filename":"file4"},{"photo_id":"1350064635","filename":"file1"},{"photo_id":"1350064628","filename":"file0"},{"photo_id":"1350064647","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350064656":["hashtag1","hashtag2"]},{"1350064635":["hashtag1","hashtag2"]},{"1350064640":["hashtag1","hashtag2"]},{"1350064628":["hashtag1","hashtag2"]},{"1350064663":["hashtag1","hashtag2"]},{"1350064647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350064656, 1350064635, 1350064640, 1350064628, 1350064663, 1350064647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.001569509506226 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:28:03.492578
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/25/image_15042025_23_25_01_3859.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/25/image_15042025_23_25_01_3859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/25/image_15042025_23_25_01_3859.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064713"],"photo_id":"1350064713","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cd86fd1bc1447cc9d842036d2c9de09.jpg","text":"TemporaryFile(/tmp/multipartBody4474286339898313453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752544314,"filename":"image_15042025_23_25_01_3859.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064713"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064713"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.87303614616394 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:29:03.122907
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/28/image_15042025_23_28_01_8417.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/28/image_15042025_23_28_01_8417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/28/image_15042025_23_28_01_8417.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064816"],"photo_id":"1350064816","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4129791359be64f161f7f4ba8cc2bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1959911182468717266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752603975,"filename":"image_15042025_23_28_01_8417.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350064816"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350064816"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.443110227584839 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:30:02.567855
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/29/image_15042025_23_29_02_0951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/29/image_15042025_23_29_02_0951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/29/image_15042025_23_29_02_0951.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350065058"],"photo_id":"1350065058","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa7e41ce439b924965851a67c17f8e02.jpg","text":"TemporaryFile(/tmp/multipartBody3107974044471121727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752663387,"filename":"image_15042025_23_29_02_0951.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350065058"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350065058"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.08028483390808 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:31:03.490793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_01_9249.jpg', 2), ('/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_01_5221.jpg', 2), ('/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_02_0631.jpg', 2), ('/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_02_1567.jpg', 2), ('/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_02_0058.jpg', 2), ('/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_01_8387.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_01_9249.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_01_5221.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_02_0631.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_02_1567.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_02_0058.jpg', '/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_01_8387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_01_9249.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_01_5221.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_02_0631.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_02_1567.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_02_0058.jpg
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_01_8387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350065198","1350065188","1350065430","1350065415","1350065337","1350065195"],"photo_ids_order":["1350065188","1350065195","1350065198","1350065337","1350065415","1350065430"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba1901b88ccbf77dc5032c8e33d0095c.jpg","text":"TemporaryFile(/tmp/multipartBody8685899024466327140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752728098,"filename":"image_14042025_12_37_02_0631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f24c907f8c00dfc650fc6c54189fb6b.jpg","text":"TemporaryFile(/tmp/multipartBody6641464979832621501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752728098,"filename":"image_14042025_12_39_01_9249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7d3cb3900de662ae887d3db325c948e.jpg","text":"TemporaryFile(/tmp/multipartBody7824870172312215561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752728098,"filename":"image_14042025_12_34_01_8387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc8f2650eb04d1b9e2ec18ca8a3e9db3.jpg","text":"TemporaryFile(/tmp/multipartBody8738776993830584272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752728098,"filename":"image_14042025_12_35_02_0058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4419540590f995c84a05d102b3dc33ea.jpg","text":"TemporaryFile(/tmp/multipartBody944455806173325018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752728098,"filename":"image_14042025_12_36_02_1567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0528eb7a12007999ce3d18cf8c50aee4.jpg","text":"TemporaryFile(/tmp/multipartBody7166564045814535285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752728098,"filename":"image_14042025_12_38_01_5221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350065198","file1":"1350065195","file0":"1350065188","file4":"1350065415","file5":"1350065430","file3":"1350065337"},"map_files_photo_id_array":[{"photo_id":"1350065430","filename":"file5"},{"photo_id":"1350065198","filename":"file2"},{"photo_id":"1350065415","filename":"file4"},{"photo_id":"1350065195","filename":"file1"},{"photo_id":"1350065188","filename":"file0"},{"photo_id":"1350065337","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350065198":["hashtag1","hashtag2"]},{"1350065188":["hashtag1","hashtag2"]},{"1350065430":["hashtag1","hashtag2"]},{"1350065415":["hashtag1","hashtag2"]},{"1350065337":["hashtag1","hashtag2"]},{"1350065195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350065198, 1350065188, 1350065430, 1350065415, 1350065337, 1350065195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.565244913101196 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:33:03.722081
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_01_5456.jpg', 2), ('/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_02_1676.jpg', 2), ('/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_02_0222.jpg', 2), ('/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_02_0803.jpg', 2), ('/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_02_0227.jpg', 2), ('/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_01_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_01_5456.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_02_1676.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_02_0222.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_02_0803.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_02_0227.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_01_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_01_5456.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_02_1676.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_02_0222.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_02_0803.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_02_0227.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_01_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350065497","1350065764","1350065533","1350065539","1350065547","1350065511"],"photo_ids_order":["1350065497","1350065511","1350065533","1350065539","1350065547","1350065764"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/016c11194eaa2af34f79087173e4a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody1335909766795713257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752848202,"filename":"image_14042025_12_33_01_5456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f3679862e455211c1de4f472dded94b.jpg","text":"TemporaryFile(/tmp/multipartBody163181183845494733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752848202,"filename":"image_14042025_12_28_01_9563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a25743cfe37bc30f2a398e60fe3327c0.jpg","text":"TemporaryFile(/tmp/multipartBody6530867423000557547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752848202,"filename":"image_14042025_12_31_02_0222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bb104539e53addb174be193a9774470.jpg","text":"TemporaryFile(/tmp/multipartBody5225893479526688206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752848202,"filename":"image_14042025_12_30_02_0803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11fe70fa361297fe26ff4b499b4380ac.jpg","text":"TemporaryFile(/tmp/multipartBody3482534039545063490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752848202,"filename":"image_14042025_12_29_02_0227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/576df96f8cacf3cfc0938d492253c871.jpg","text":"TemporaryFile(/tmp/multipartBody5569457729248165839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752848202,"filename":"image_14042025_12_32_02_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350065533","file1":"1350065511","file0":"1350065497","file4":"1350065547","file5":"1350065764","file3":"1350065539"},"map_files_photo_id_array":[{"photo_id":"1350065764","filename":"file5"},{"photo_id":"1350065533","filename":"file2"},{"photo_id":"1350065547","filename":"file4"},{"photo_id":"1350065511","filename":"file1"},{"photo_id":"1350065497","filename":"file0"},{"photo_id":"1350065539","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350065497":["hashtag1","hashtag2"]},{"1350065764":["hashtag1","hashtag2"]},{"1350065533":["hashtag1","hashtag2"]},{"1350065539":["hashtag1","hashtag2"]},{"1350065547":["hashtag1","hashtag2"]},{"1350065511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350065497, 1350065764, 1350065533, 1350065539, 1350065547, 1350065511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.89743995666504 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:35:03.525243
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/34/image_15042025_23_34_01_8862.jpg', 2), ('/home/pi/Desktop/images/15042025/23/30/image_15042025_23_30_01_3858.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/34/image_15042025_23_34_01_8862.jpg', '/home/pi/Desktop/images/15042025/23/30/image_15042025_23_30_01_3858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/34/image_15042025_23_34_01_8862.jpg
/home/pi/Desktop/images/15042025/23/30/image_15042025_23_30_01_3858.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350065983","1350065971"],"photo_ids_order":["1350065971","1350065983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/068d6219457f1bdb92f05362ef8cf24d.jpg","text":"TemporaryFile(/tmp/multipartBody4233844321954465615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752964760,"filename":"image_15042025_23_30_01_3858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5bdf655d9eca7ce3c2440b1235aec44.jpg","text":"TemporaryFile(/tmp/multipartBody53455939237896158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752964760,"filename":"image_15042025_23_34_01_8862.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350065983","file0":"1350065971"},"map_files_photo_id_array":[{"photo_id":"1350065983","filename":"file1"},{"photo_id":"1350065971","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350065983":["hashtag1","hashtag2"]},{"1350065971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350065983, 1350065971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.373360633850098 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:36:02.664752
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/35/image_15042025_23_35_01_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/35/image_15042025_23_35_01_4134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/35/image_15042025_23_35_01_4134.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066167"],"photo_id":"1350066167","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/337649bf74f15b7693ffcb85a563e2cb.jpg","text":"TemporaryFile(/tmp/multipartBody9098898124147892917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753023464,"filename":"image_15042025_23_35_01_4134.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066167"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066167"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.362443685531616 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:37:03.259644
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/36/image_15042025_23_36_01_8216.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/36/image_15042025_23_36_01_8216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/36/image_15042025_23_36_01_8216.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066223"],"photo_id":"1350066223","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8adfe054f9865528dcfefc4adfc333a.jpg","text":"TemporaryFile(/tmp/multipartBody7124650079287488567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753084123,"filename":"image_15042025_23_36_01_8216.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066223"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066223"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.981199264526367 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:38:02.909126
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/37/image_15042025_23_37_01_3415.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/37/image_15042025_23_37_01_3415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/37/image_15042025_23_37_01_3415.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066492"],"photo_id":"1350066492","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bfbce68f8d39241f911617ea7377cd5.jpg","text":"TemporaryFile(/tmp/multipartBody457370838444225343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753143702,"filename":"image_15042025_23_37_01_3415.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066492"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066492"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.32260012626648 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:39:03.782660
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/38/image_15042025_23_38_01_6109.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/38/image_15042025_23_38_01_6109.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/38/image_15042025_23_38_01_6109.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066532"],"photo_id":"1350066532","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f44c2bffcc9666cbac869f0ace20c53.jpg","text":"TemporaryFile(/tmp/multipartBody8470763970473978969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753204624,"filename":"image_15042025_23_38_01_6109.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066532"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066532"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.90434741973877 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:40:02.859187
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/39/image_15042025_23_39_01_4774.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/39/image_15042025_23_39_01_4774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/39/image_15042025_23_39_01_4774.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066689"],"photo_id":"1350066689","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34dde9761e6f09a66571839afded53db.jpg","text":"TemporaryFile(/tmp/multipartBody2381608887751523626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753263686,"filename":"image_15042025_23_39_01_4774.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066689"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066689"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.222232341766357 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:41:03.586470
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/40/image_15042025_23_40_01_8717.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/40/image_15042025_23_40_01_8717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/40/image_15042025_23_40_01_8717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066862"],"photo_id":"1350066862","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/568a2d82bc2dd6483bb069c7c5636a67.jpg","text":"TemporaryFile(/tmp/multipartBody2222723197750972335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753324371,"filename":"image_15042025_23_40_01_8717.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066862"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.924951791763306 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:42:02.920407
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/41/image_15042025_23_41_01_4414.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/41/image_15042025_23_41_01_4414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/41/image_15042025_23_41_01_4414.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350066947"],"photo_id":"1350066947","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55f5bc4da396e4d512ee367f2be59db6.jpg","text":"TemporaryFile(/tmp/multipartBody5798132383039783219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753383733,"filename":"image_15042025_23_41_01_4414.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350066947"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350066947"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.40816879272461 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:43:03.645291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_01_9316.jpg', 2), ('/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_01_7366.jpg', 2), ('/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_01_7445.jpg', 2), ('/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_01_5673.jpg', 2), ('/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_02_2379.jpg', 2), ('/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_01_9826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_01_9316.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_01_7366.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_01_7445.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_01_5673.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_02_2379.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_01_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_01_9316.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_01_7366.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_01_7445.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_01_5673.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_02_2379.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_01_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350067307","1350067249","1350067135","1350067287","1350067239","1350067130"],"photo_ids_order":["1350067130","1350067135","1350067239","1350067249","1350067287","1350067307"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c51a369e95757a86284947fb3a32a1ba.jpg","text":"TemporaryFile(/tmp/multipartBody411027802342333486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753448391,"filename":"image_14042025_12_21_01_9826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcc96bd8d7b10ce46c9398ef9edaaa4d.jpg","text":"TemporaryFile(/tmp/multipartBody7736397364467224773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753448391,"filename":"image_14042025_12_23_01_5673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04cdf631a159f3b8f85b757fe34dd94a.jpg","text":"TemporaryFile(/tmp/multipartBody8087940702612852599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753448391,"filename":"image_14042025_12_25_01_7366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a7de56ea0a7f7a05be2529330e06d19.jpg","text":"TemporaryFile(/tmp/multipartBody8474499826704573084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753448391,"filename":"image_14042025_12_22_02_2379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3477ff9a16896d4c1efe41f4d7ce2d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2712757293908113237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753448391,"filename":"image_14042025_12_24_01_7445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b494b805ed2cf04a007e8f776b50d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody63228367262164590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753448391,"filename":"image_14042025_12_26_01_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350067239","file1":"1350067135","file0":"1350067130","file4":"1350067287","file5":"1350067307","file3":"1350067249"},"map_files_photo_id_array":[{"photo_id":"1350067307","filename":"file5"},{"photo_id":"1350067239","filename":"file2"},{"photo_id":"1350067287","filename":"file4"},{"photo_id":"1350067135","filename":"file1"},{"photo_id":"1350067130","filename":"file0"},{"photo_id":"1350067249","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350067307":["hashtag1","hashtag2"]},{"1350067249":["hashtag1","hashtag2"]},{"1350067135":["hashtag1","hashtag2"]},{"1350067287":["hashtag1","hashtag2"]},{"1350067239":["hashtag1","hashtag2"]},{"1350067130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350067307, 1350067249, 1350067135, 1350067287, 1350067239, 1350067130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.049429178237915 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:45:03.372538
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/44/image_15042025_23_44_01_8601.jpg', 2), ('/home/pi/Desktop/images/15042025/23/42/image_15042025_23_42_01_8218.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/44/image_15042025_23_44_01_8601.jpg', '/home/pi/Desktop/images/15042025/23/42/image_15042025_23_42_01_8218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/44/image_15042025_23_44_01_8601.jpg
/home/pi/Desktop/images/15042025/23/42/image_15042025_23_42_01_8218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350067788","1350067805"],"photo_ids_order":["1350067788","1350067805"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed661bda1975f479980604276b3b49be.jpg","text":"TemporaryFile(/tmp/multipartBody6424365146302651411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753564634,"filename":"image_15042025_23_44_01_8601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1eaa75fd54ca057a62597d7007af57c1.jpg","text":"TemporaryFile(/tmp/multipartBody5259836551223041568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753564634,"filename":"image_15042025_23_42_01_8218.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350067805","file0":"1350067788"},"map_files_photo_id_array":[{"photo_id":"1350067805","filename":"file1"},{"photo_id":"1350067788","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350067788":["hashtag1","hashtag2"]},{"1350067805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350067788, 1350067805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.229142665863037 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:46:03.098245
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/45/image_15042025_23_45_01_5826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/45/image_15042025_23_45_01_5826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/45/image_15042025_23_45_01_5826.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350067861"],"photo_id":"1350067861","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd4254aa79348401d7592f2bf414281a.jpg","text":"TemporaryFile(/tmp/multipartBody6766732870714713202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753623891,"filename":"image_15042025_23_45_01_5826.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350067861"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350067861"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.962346076965332 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:47:03.969294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250319 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250320 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250321 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250322 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250323 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250324 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_01_4997.jpg', 2), ('/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_01_8767.jpg', 2), ('/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_01_7297.jpg', 2), ('/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_02_3021.jpg', 2), ('/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_01_8162.jpg', 2), ('/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_01_3014.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_01_4997.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_01_8767.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_01_7297.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_02_3021.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_01_8162.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_01_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_01_4997.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_01_8767.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_01_7297.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_02_3021.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_01_8162.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_01_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350068085","1350068094","1350068073","1350068118","1350068033","1350068077"],"photo_ids_order":["1350068033","1350068073","1350068077","1350068085","1350068094","1350068118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1bcad6b53c0170a9539ac1385f0e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5960925765797084311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753688868,"filename":"image_14042025_12_16_02_3021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71e0125f996ef9ef4d3fb15f952481bd.jpg","text":"TemporaryFile(/tmp/multipartBody4343117260689090628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753688868,"filename":"image_14042025_12_15_01_8162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/715e077e7c7e2ac8017337b0f06e863c.jpg","text":"TemporaryFile(/tmp/multipartBody9141448433033591662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753688868,"filename":"image_14042025_12_18_01_8767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f459cb25f42936175613f7e3e4bd51e8.jpg","text":"TemporaryFile(/tmp/multipartBody4966963881701240637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753688868,"filename":"image_14042025_12_14_01_3014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cad12ef259617b6c3830731f3749438.jpg","text":"TemporaryFile(/tmp/multipartBody4285458080942946385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753688868,"filename":"image_14042025_12_20_01_4997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37089f0c22bcf13017d415adc06b15fe.jpg","text":"TemporaryFile(/tmp/multipartBody5525954265734488980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753688868,"filename":"image_14042025_12_17_01_7297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350068077","file1":"1350068073","file0":"1350068033","file4":"1350068094","file5":"1350068118","file3":"1350068085"},"map_files_photo_id_array":[{"photo_id":"1350068118","filename":"file5"},{"photo_id":"1350068077","filename":"file2"},{"photo_id":"1350068094","filename":"file4"},{"photo_id":"1350068073","filename":"file1"},{"photo_id":"1350068033","filename":"file0"},{"photo_id":"1350068085","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1350068085":["hashtag1","hashtag2"]},{"1350068094":["hashtag1","hashtag2"]},{"1350068073":["hashtag1","hashtag2"]},{"1350068118":["hashtag1","hashtag2"]},{"1350068033":["hashtag1","hashtag2"]},{"1350068077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1350068085, 1350068094, 1350068073, 1350068118, 1350068033, 1350068077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.304802656173706 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:49:03.076905
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/48/image_15042025_23_48_02_1726.jpg', 2), ('/home/pi/Desktop/images/15042025/23/46/image_15042025_23_46_01_6712.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/48/image_15042025_23_48_02_1726.jpg', '/home/pi/Desktop/images/15042025/23/46/image_15042025_23_46_01_6712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/48/image_15042025_23_48_02_1726.jpg
/home/pi/Desktop/images/15042025/23/46/image_15042025_23_46_01_6712.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350068178","1350068185"],"photo_ids_order":["1350068178","1350068185"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc1ca8a3d5a3cfa74ae734468915f9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3439804953774148561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753804433,"filename":"image_15042025_23_48_02_1726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/238ab4d3115071b5ba3fd02806f39d13.jpg","text":"TemporaryFile(/tmp/multipartBody5621902754813598190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753804433,"filename":"image_15042025_23_46_01_6712.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350068185","file0":"1350068178"},"map_files_photo_id_array":[{"photo_id":"1350068185","filename":"file1"},{"photo_id":"1350068178","filename":"file0"}],"portfolio_id":22024889,"hashtag_by_photo_ids":[{"1350068178":["hashtag1","hashtag2"]},{"1350068185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024889 used, photo_id : ArrayBuffer(1350068178, 1350068185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.300480127334595 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:50:03.563284
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/49/image_15042025_23_49_02_1314.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/49/image_15042025_23_49_02_1314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/49/image_15042025_23_49_02_1314.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350068321"],"photo_id":"1350068321","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81012f40c5d9fb26aa62746e45bfe930.jpg","text":"TemporaryFile(/tmp/multipartBody8526690638853413279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753864386,"filename":"image_15042025_23_49_02_1314.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350068321"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350068321"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.65878176689148 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:51:03.311607
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/50/image_15042025_23_50_01_6200.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/50/image_15042025_23_50_01_6200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/50/image_15042025_23_50_01_6200.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350068947"],"photo_id":"1350068947","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/700411f010388ea725a74330c2142c5b.jpg","text":"TemporaryFile(/tmp/multipartBody965936881334716504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753924163,"filename":"image_15042025_23_50_01_6200.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350068947"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350068947"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.824924230575562 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:52:02.626021
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/51/image_15042025_23_51_02_1713.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/51/image_15042025_23_51_02_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/51/image_15042025_23_51_02_1713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350069414"],"photo_id":"1350069414","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6334767fde595ef395d98aac3e9d1f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2650039395314064424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753983425,"filename":"image_15042025_23_51_02_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350069414"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350069414"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.738567590713501 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:53:03.206054
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/52/image_15042025_23_52_01_5450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/52/image_15042025_23_52_01_5450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/52/image_15042025_23_52_01_5450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350069783"],"photo_id":"1350069783","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc3cd76450bde72051ddd69e76a65b38.jpg","text":"TemporaryFile(/tmp/multipartBody6432419350640119973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744754044068,"filename":"image_15042025_23_52_01_5450.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350069783"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350069783"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.753287076950073 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:54:02.643914
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/53/image_15042025_23_53_01_2945.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/53/image_15042025_23_53_01_2945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/53/image_15042025_23_53_01_2945.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350069966"],"photo_id":"1350069966","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5d7bc0436a0b42e544869e4c14d2add.jpg","text":"TemporaryFile(/tmp/multipartBody3034263023527418240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744754103497,"filename":"image_15042025_23_53_01_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350069966"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350069966"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.125697135925293 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:55:03.507708
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/54/image_15042025_23_54_01_6251.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/54/image_15042025_23_54_01_6251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/54/image_15042025_23_54_01_6251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350070072"],"photo_id":"1350070072","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f7cc84afa2fce76efb2d8fef1bc9c28.jpg","text":"TemporaryFile(/tmp/multipartBody3389211459398341351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744754164287,"filename":"image_15042025_23_54_01_6251.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350070072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350070072"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.6513352394104 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:56:02.582617
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/55/image_15042025_23_55_01_3707.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/55/image_15042025_23_55_01_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/55/image_15042025_23_55_01_3707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350070147"],"photo_id":"1350070147","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d810837c76779c32851fa6a84eb26f5.jpg","text":"TemporaryFile(/tmp/multipartBody3577781611167704885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744754223345,"filename":"image_15042025_23_55_01_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350070147"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350070147"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.211313724517822 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-15 23:57:03.323842
  port_id : 22024889
  datou_current_id : 2720882
in upload_from_sqlite, uploading in 22024889
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 = 20250415 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/15042025/23/56/image_15042025_23_56_01_5957.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/56/image_15042025_23_56_01_5957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720882&datou=0
/home/pi/Desktop/images/15042025/23/56/image_15042025_23_56_01_5957.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350070770"],"photo_id":"1350070770","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6c355407847750f93ea6217326520e6.jpg","text":"TemporaryFile(/tmp/multipartBody6659948994268853020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744754284128,"filename":"image_15042025_23_56_01_5957.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350070770"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350070770"}],"hashtags":[],"portfolio_id":"22024889","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.413749694824219 secondes ---
