Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-04-13 23:59:03.711923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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
  port_id : 22325679
  datou_current_id : 2749793
in upload_from_sqlite, uploading in 22325679
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
error upload
[('/home/pi/Desktop/images/13042025/23/53/image_13042025_23_53_01_3423.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/23/53/image_13042025_23_53_01_3423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2749793&datou=0
/home/pi/Desktop/images/13042025/23/53/image_13042025_23_53_01_3423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352847247"],"photo_id":"1352847247","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/61aee823ba9950cb81677542aa9fb282.jpg","text":"TemporaryFile(/tmp/multipartBody1065283559478517916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744581605180,"filename":"image_13042025_23_53_01_3423.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352847247"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352847247"}],"hashtags":[],"portfolio_id":"22325679","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.079546213150024 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:00:02.621821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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
  port_id : 22325679
  datou_current_id : 2749793
in upload_from_sqlite, uploading in 22325679
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
error upload
[('/home/pi/Desktop/images/13042025/23/58/image_13042025_23_58_01_8485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/23/58/image_13042025_23_58_01_8485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2749793&datou=0
/home/pi/Desktop/images/13042025/23/58/image_13042025_23_58_01_8485.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0552680492401123 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-14 00:01:03.622007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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
  port_id : 22325679
  datou_current_id : 2749793
in upload_from_sqlite, uploading in 22325679
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
error upload
[('/home/pi/Desktop/images/13042025/23/58/image_13042025_23_58_01_8485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/23/58/image_13042025_23_58_01_8485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2749793&datou=0
/home/pi/Desktop/images/13042025/23/58/image_13042025_23_58_01_8485.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352847277"],"photo_id":"1352847277","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/05316664150f6c48a1b03bcfefe69f15.jpg","text":"TemporaryFile(/tmp/multipartBody1828595889968218846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744581724824,"filename":"image_13042025_23_58_01_8485.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352847277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352847277"}],"hashtags":[],"portfolio_id":"22325679","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 36.433032274246216 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:02:03.154007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:03:03.395685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:04:02.675193
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_14042025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
0
2750516
0
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/00/image_14042025_00_00_01_7237.jpg', 2)]
{'portfolio_id': 22346191, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744581902000}
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/00/image_14042025_00_00_01_7237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/00/image_14042025_00_00_01_7237.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352847335"],"photo_id":"1352847335","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/ca499930269704e83f1ad2642d6c2ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8710398693030409575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744581904348,"filename":"image_14042025_00_00_01_7237.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352847335"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352847335"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.47377610206604 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:05:03.130468
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/04/image_14042025_00_04_01_7299.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/04/image_14042025_00_04_01_7299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/04/image_14042025_00_04_01_7299.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352847357"],"photo_id":"1352847357","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/1c68006cc1a1150fddc5d28dae9f5d36.jpg","text":"TemporaryFile(/tmp/multipartBody7922681083397897417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744581964005,"filename":"image_14042025_00_04_01_7299.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352847357"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352847357"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.636141538619995 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:06:03.021960
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/05/image_14042025_00_05_01_3075.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/05/image_14042025_00_05_01_3075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/05/image_14042025_00_05_01_3075.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352847781"],"photo_id":"1352847781","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/9ab5a9f6b79e5bdfe50272d677971eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3558562393973538477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582023856,"filename":"image_14042025_00_05_01_3075.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352847781"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352847781"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.59358835220337 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:07:03.210899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:08:02.612699
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:09:03.935764
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:10:03.333016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:11:03.327151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:12:02.868261
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/06/image_14042025_00_06_01_3508.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/06/image_14042025_00_06_01_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/06/image_14042025_00_06_01_3508.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352849133"],"photo_id":"1352849133","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/d4e14ec71cb7c6a9849fc55e3c9e3eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2708779623267340176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582383701,"filename":"image_14042025_00_06_01_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352849133"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352849133"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.18302321434021 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:13:03.880686
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/12/image_14042025_00_12_01_6715.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/12/image_14042025_00_12_01_6715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/12/image_14042025_00_12_01_6715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352849277"],"photo_id":"1352849277","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a565a885da986942ef30b7a9e9ec3551.jpg","text":"TemporaryFile(/tmp/multipartBody6104477369995234399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582444718,"filename":"image_14042025_00_12_01_6715.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352849277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352849277"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.356399059295654 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:14:03.382327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:15:03.469735
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/13/image_14042025_00_13_01_5014.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/13/image_14042025_00_13_01_5014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/13/image_14042025_00_13_01_5014.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352849478"],"photo_id":"1352849478","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/03c70354dc9da23a1d3829eeeb5df643.jpg","text":"TemporaryFile(/tmp/multipartBody1050103792624970004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582564324,"filename":"image_14042025_00_13_01_5014.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352849478"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352849478"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.475943088531494 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:16:03.223757
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/15/image_14042025_00_15_01_9976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/15/image_14042025_00_15_01_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/15/image_14042025_00_15_01_9976.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352849494"],"photo_id":"1352849494","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a30083a1e5b461564ea771e5940a6f66.jpg","text":"TemporaryFile(/tmp/multipartBody1030025336110442027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582623989,"filename":"image_14042025_00_15_01_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352849494"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352849494"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.767422199249268 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:17:03.135736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:18:02.734562
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/16/image_14042025_00_16_01_6054.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/16/image_14042025_00_16_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/00/16/image_14042025_00_16_01_6054.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352849893"],"photo_id":"1352849893","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/782974576f4a860d9c69f4e5a5749c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6012460573871913479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582743640,"filename":"image_14042025_00_16_01_6054.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352849893"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352849893"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.264509677886963 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:19:03.638961
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/18/image_14042025_00_18_01_5214.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/18/image_14042025_00_18_01_5214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/18/image_14042025_00_18_01_5214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352850059"],"photo_id":"1352850059","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/863cd5996310ca568fe7708c1879a5b8.jpg","text":"TemporaryFile(/tmp/multipartBody8431254314865651510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582806369,"filename":"image_14042025_00_18_01_5214.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352850059"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352850059"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.682255029678345 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:20:03.052853
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/19/image_14042025_00_19_01_4290.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/19/image_14042025_00_19_01_4290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/19/image_14042025_00_19_01_4290.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 26.447807788848877 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895badd8f</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895badd8f</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:21:03.693265
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/19/image_14042025_00_19_01_4290.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/19/image_14042025_00_19_01_4290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/19/image_14042025_00_19_01_4290.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352850436"],"photo_id":"1352850436","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/5815d82896c061a72dc9b0077a9516ed.jpg","text":"TemporaryFile(/tmp/multipartBody3960228369769119189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582924514,"filename":"image_14042025_00_19_01_4290.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352850436"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352850436"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.70607566833496 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:22:02.809557
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/20/image_14042025_00_20_01_8222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/20/image_14042025_00_20_01_8222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/20/image_14042025_00_20_01_8222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352850618"],"photo_id":"1352850618","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/892fed8271d9c287f1087276f1d3393b.jpg","text":"TemporaryFile(/tmp/multipartBody3437330735702170578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744582983640,"filename":"image_14042025_00_20_01_8222.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352850618"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352850618"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.07754635810852 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:23:03.657235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:24:02.930792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:25:06.961774
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/22/image_14042025_00_22_01_8898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/22/image_14042025_00_22_01_8898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/22/image_14042025_00_22_01_8898.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851089"],"photo_id":"1352851089","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/50de56885567c55d60ad334f78f32587.jpg","text":"TemporaryFile(/tmp/multipartBody3236574653214526994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583168350,"filename":"image_14042025_00_22_01_8898.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851089"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851089"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.709702491760254 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:26:06.394610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:27:03.949745
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/25/image_14042025_00_25_01_4836.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/25/image_14042025_00_25_01_4836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/25/image_14042025_00_25_01_4836.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851311"],"photo_id":"1352851311","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/2f55766b77b3ae4f78d598a222c88ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1537663557371625596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583284857,"filename":"image_14042025_00_25_01_4836.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851311"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851311"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.347119331359863 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:28:03.368319
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/27/image_14042025_00_27_01_8457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/27/image_14042025_00_27_01_8457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/27/image_14042025_00_27_01_8457.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851329"],"photo_id":"1352851329","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/23e095b4bdebbe2c76393a43786d189f.jpg","text":"TemporaryFile(/tmp/multipartBody6791496805566665592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583344179,"filename":"image_14042025_00_27_01_8457.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851329"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851329"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.398184776306152 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:29:03.165282
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/28/image_14042025_00_28_02_2185.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/28/image_14042025_00_28_02_2185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/28/image_14042025_00_28_02_2185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851354"],"photo_id":"1352851354","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/0428bb6c8941824473b6d579cb7b5d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4375613469015863493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583404009,"filename":"image_14042025_00_28_02_2185.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851354"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851354"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.149751901626587 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:30:03.384640
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/29/image_14042025_00_29_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/29/image_14042025_00_29_01_8890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/29/image_14042025_00_29_01_8890.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851379"],"photo_id":"1352851379","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a4a5536815cdc812b9eeb1f5e70c2556.jpg","text":"TemporaryFile(/tmp/multipartBody1275221449118749567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583464254,"filename":"image_14042025_00_29_01_8890.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851379"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851379"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.175927877426147 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:31:03.220807
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/30/image_14042025_00_30_01_3495.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/30/image_14042025_00_30_01_3495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/30/image_14042025_00_30_01_3495.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851400"],"photo_id":"1352851400","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/69992a9f3539a40ea25e8bb371aba63f.jpg","text":"TemporaryFile(/tmp/multipartBody6346432803517468602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583524025,"filename":"image_14042025_00_30_01_3495.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851400"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851400"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.403196096420288 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:32:03.236378
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/33/image_14042025_00_33_01_9543.jpg', 2), ('/home/pi/Desktop/images/14042025/00/31/image_14042025_00_31_02_0417.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/31/image_14042025_00_31_02_0417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/31/image_14042025_00_31_02_0417.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851425"],"photo_id":"1352851425","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a371bcd00923e808956dedd94e6dba97.jpg","text":"TemporaryFile(/tmp/multipartBody2443940057798919026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583584250,"filename":"image_14042025_00_31_02_0417.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851425"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851425"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.337238788604736 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/14042025/00/33/image_14042025_00_33_01_9543.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-14 00:33:03.377865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:34:03.086628
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/32/image_14042025_00_32_01_3928.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/32/image_14042025_00_32_01_3928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/32/image_14042025_00_32_01_3928.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851456"],"photo_id":"1352851456","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/5b12580c893ac810fc3ac1fd0ed93aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8869858326654206457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583703904,"filename":"image_14042025_00_32_01_3928.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851456"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851456"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.5788733959198 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:35:03.637615
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/34/image_14042025_00_34_01_5353.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/34/image_14042025_00_34_01_5353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/34/image_14042025_00_34_01_5353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851467"],"photo_id":"1352851467","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/70156481d2e05044076aa0e4159111b9.jpg","text":"TemporaryFile(/tmp/multipartBody8623711243800293869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583764588,"filename":"image_14042025_00_34_01_5353.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851467"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851467"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 22.938599824905396 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:36:02.902463
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/35/image_14042025_00_35_01_7505.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/35/image_14042025_00_35_01_7505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/35/image_14042025_00_35_01_7505.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851478"],"photo_id":"1352851478","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/0de218c24d56b6544078a9655b123495.jpg","text":"TemporaryFile(/tmp/multipartBody7870877090205393009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744583823642,"filename":"image_14042025_00_35_01_7505.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851478"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851478"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.896985292434692 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:37:03.819136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:38:02.951129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:39:03.728866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:40:02.730706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:41:03.611337
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/36/image_14042025_00_36_02_0771.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/36/image_14042025_00_36_02_0771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/36/image_14042025_00_36_02_0771.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851557"],"photo_id":"1352851557","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/9e517d2e1a54566d48020c30a9522805.jpg","text":"TemporaryFile(/tmp/multipartBody1972968741066814885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584124505,"filename":"image_14042025_00_36_02_0771.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851557"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851557"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.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-14 00:42:02.682169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:43:03.462106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:44:02.551451
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/41/image_14042025_00_41_01_4020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 23.80077815055847 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bdh6lf</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bdh6lf</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:45:03.236805
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/41/image_14042025_00_41_01_4020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.506110668182373 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bdl40b</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bdl40b</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:46:03.547248
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', 2), ('/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', '/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg
/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.98279809951782 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bdok9f</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bdok9f</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:47:03.285523
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg', 2), ('/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', 2), ('/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg', '/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', '/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg
/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg
/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 59.90898323059082 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895be3fg7</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895be3fg7</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:49:03.134338
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/48/image_14042025_00_48_01_5180.jpg', 2), ('/home/pi/Desktop/images/14042025/00/47/image_14042025_00_47_02_1783.jpg', 2), ('/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg', 2), ('/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', 2), ('/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/48/image_14042025_00_48_01_5180.jpg', '/home/pi/Desktop/images/14042025/00/47/image_14042025_00_47_02_1783.jpg', '/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg', '/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', '/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/48/image_14042025_00_48_01_5180.jpg
/home/pi/Desktop/images/14042025/00/47/image_14042025_00_47_02_1783.jpg
/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg
/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg
/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 62.862762451171875 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895beaf6e</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895beaf6e</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:51:03.173275
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/50/image_14042025_00_50_01_4375.jpg', 2), ('/home/pi/Desktop/images/14042025/00/49/image_14042025_00_49_01_8549.jpg', 2), ('/home/pi/Desktop/images/14042025/00/48/image_14042025_00_48_01_5180.jpg', 2), ('/home/pi/Desktop/images/14042025/00/47/image_14042025_00_47_02_1783.jpg', 2), ('/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg', 2), ('/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/50/image_14042025_00_50_01_4375.jpg', '/home/pi/Desktop/images/14042025/00/49/image_14042025_00_49_01_8549.jpg', '/home/pi/Desktop/images/14042025/00/48/image_14042025_00_48_01_5180.jpg', '/home/pi/Desktop/images/14042025/00/47/image_14042025_00_47_02_1783.jpg', '/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg', '/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/50/image_14042025_00_50_01_4375.jpg
/home/pi/Desktop/images/14042025/00/49/image_14042025_00_49_01_8549.jpg
/home/pi/Desktop/images/14042025/00/48/image_14042025_00_48_01_5180.jpg
/home/pi/Desktop/images/14042025/00/47/image_14042025_00_47_02_1783.jpg
/home/pi/Desktop/images/14042025/00/46/image_14042025_00_46_01_5068.jpg
/home/pi/Desktop/images/14042025/00/44/image_14042025_00_44_01_7260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851731","1352851713","1352851722","1352851729","1352851720","1352851726"],"photo_ids_order":["1352851713","1352851720","1352851722","1352851726","1352851729","1352851731"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/6fc4617cce534a8e5ce0fb14c7942b92.jpg","text":"TemporaryFile(/tmp/multipartBody7120929698164067190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584726786,"filename":"image_14042025_00_44_01_7260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/59bd1a1174042988d011b45a30a4509e.jpg","text":"TemporaryFile(/tmp/multipartBody3879500519253699493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584726786,"filename":"image_14042025_00_50_01_4375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/182d779d090f691b7d0cc2ce6b558703.jpg","text":"TemporaryFile(/tmp/multipartBody1778659459080517262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584726786,"filename":"image_14042025_00_48_01_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/3f14fd9fe6c3035b534dcb6d3a9307d3.jpg","text":"TemporaryFile(/tmp/multipartBody7750579559566562935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584726786,"filename":"image_14042025_00_46_01_5068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/df740f945f637a1d01fdbe554f23fe46.jpg","text":"TemporaryFile(/tmp/multipartBody1100935120255688123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584726786,"filename":"image_14042025_00_49_01_8549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/d64bb8ea3092248f0e97a2154c18b718.jpg","text":"TemporaryFile(/tmp/multipartBody1856232556071611726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584726786,"filename":"image_14042025_00_47_02_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352851722","file1":"1352851720","file0":"1352851713","file4":"1352851729","file5":"1352851731","file3":"1352851726"},"map_files_photo_id_array":[{"photo_id":"1352851731","filename":"file5"},{"photo_id":"1352851722","filename":"file2"},{"photo_id":"1352851729","filename":"file4"},{"photo_id":"1352851720","filename":"file1"},{"photo_id":"1352851713","filename":"file0"},{"photo_id":"1352851726","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352851731":["hashtag1","hashtag2"]},{"1352851713":["hashtag1","hashtag2"]},{"1352851722":["hashtag1","hashtag2"]},{"1352851729":["hashtag1","hashtag2"]},{"1352851720":["hashtag1","hashtag2"]},{"1352851726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352851731, 1352851713, 1352851722, 1352851729, 1352851720, 1352851726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.03438019752502 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:53:03.685998
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/52/image_14042025_00_52_01_1908.jpg', 2), ('/home/pi/Desktop/images/14042025/00/51/image_14042025_00_51_02_1423.jpg', 2), ('/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/52/image_14042025_00_52_01_1908.jpg', '/home/pi/Desktop/images/14042025/00/51/image_14042025_00_51_02_1423.jpg', '/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/52/image_14042025_00_52_01_1908.jpg
/home/pi/Desktop/images/14042025/00/51/image_14042025_00_51_02_1423.jpg
/home/pi/Desktop/images/14042025/00/41/image_14042025_00_41_01_4020.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851740","1352851748","1352851744"],"photo_ids_order":["1352851740","1352851744","1352851748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a0c5c61d60123884016898fb2b66cca5.jpg","text":"TemporaryFile(/tmp/multipartBody2026510585776103223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584845559,"filename":"image_14042025_00_52_01_1908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/9156d12f6cb7d8224e3549f4151238b6.jpg","text":"TemporaryFile(/tmp/multipartBody5681177418976792603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584845559,"filename":"image_14042025_00_41_01_4020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/01d444f423c689fb4176d593f8e0d62d.jpg","text":"TemporaryFile(/tmp/multipartBody5204749718262962728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584845559,"filename":"image_14042025_00_51_02_1423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352851748","file1":"1352851744","file0":"1352851740"},"map_files_photo_id_array":[{"photo_id":"1352851748","filename":"file2"},{"photo_id":"1352851744","filename":"file1"},{"photo_id":"1352851740","filename":"file0"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352851740":["hashtag1","hashtag2"]},{"1352851748":["hashtag1","hashtag2"]},{"1352851744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352851740, 1352851748, 1352851744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 59.49645709991455 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:55:03.514044
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/53/image_14042025_00_53_01_8424.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/53/image_14042025_00_53_01_8424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/53/image_14042025_00_53_01_8424.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851762"],"photo_id":"1352851762","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/4125ab07add99920e98284053f113a89.jpg","text":"TemporaryFile(/tmp/multipartBody2188250700948717421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744584964344,"filename":"image_14042025_00_53_01_8424.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851762"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851762"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.766290664672852 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:56:03.568465
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/00/55/image_14042025_00_55_01_5229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/55/image_14042025_00_55_01_5229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/55/image_14042025_00_55_01_5229.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 19.612046241760254 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bf616d</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bf616d</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:57:03.388965
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/56/image_14042025_00_56_01_7219.jpg', 2), ('/home/pi/Desktop/images/14042025/00/55/image_14042025_00_55_01_5229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/56/image_14042025_00_56_01_7219.jpg', '/home/pi/Desktop/images/14042025/00/55/image_14042025_00_55_01_5229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/56/image_14042025_00_56_01_7219.jpg
/home/pi/Desktop/images/14042025/00/55/image_14042025_00_55_01_5229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851791","1352851787"],"photo_ids_order":["1352851787","1352851791"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/9cc9ea44d0921d878e4a033dfc67a62f.jpg","text":"TemporaryFile(/tmp/multipartBody1437482457155362294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585084741,"filename":"image_14042025_00_55_01_5229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/612720f3f48c953dea063d46d4ed4f37.jpg","text":"TemporaryFile(/tmp/multipartBody2620929033730213814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585084741,"filename":"image_14042025_00_56_01_7219.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352851791","file0":"1352851787"},"map_files_photo_id_array":[{"photo_id":"1352851791","filename":"file1"},{"photo_id":"1352851787","filename":"file0"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352851791":["hashtag1","hashtag2"]},{"1352851787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352851791, 1352851787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 32.69542717933655 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:59:03.114306
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg', 2), ('/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg', '/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg
/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 43.39903283119202 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bfhg0h</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bfhg0h</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:00:03.507350
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/00/59/image_14042025_00_59_02_2136.jpg', 2), ('/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg', 2), ('/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/00/59/image_14042025_00_59_02_2136.jpg', '/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg', '/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/00/59/image_14042025_00_59_02_2136.jpg
/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg
/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.41058039665222 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bfk9g7</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bfk9g7</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:01:03.221057
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/00/image_14042025_01_00_01_4761.jpg', 2), ('/home/pi/Desktop/images/14042025/00/59/image_14042025_00_59_02_2136.jpg', 2), ('/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg', 2), ('/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/00/image_14042025_01_00_01_4761.jpg', '/home/pi/Desktop/images/14042025/00/59/image_14042025_00_59_02_2136.jpg', '/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg', '/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/00/image_14042025_01_00_01_4761.jpg
/home/pi/Desktop/images/14042025/00/59/image_14042025_00_59_02_2136.jpg
/home/pi/Desktop/images/14042025/00/58/image_14042025_00_58_01_4821.jpg
/home/pi/Desktop/images/14042025/00/57/image_14042025_00_57_02_2329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851863","1352851867","1352851861","1352851855"],"photo_ids_order":["1352851855","1352851861","1352851863","1352851867"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/1f11e56119fcde6c686d73746a957f12.jpg","text":"TemporaryFile(/tmp/multipartBody5829353525005289622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585325592,"filename":"image_14042025_00_58_01_4821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/d8b6bcb5ba2fe7319df519e9e4dccebf.jpg","text":"TemporaryFile(/tmp/multipartBody2879476438909310738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585325592,"filename":"image_14042025_00_57_02_2329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a4914eb27993b1773fa22870ab8f4c9a.jpg","text":"TemporaryFile(/tmp/multipartBody5610270201549438535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585325592,"filename":"image_14042025_00_59_02_2136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/d7b085597f59a4b3813bf2a8a0966532.jpg","text":"TemporaryFile(/tmp/multipartBody4677846987662989262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585325592,"filename":"image_14042025_01_00_01_4761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352851863","file1":"1352851861","file0":"1352851855","file3":"1352851867"},"map_files_photo_id_array":[{"photo_id":"1352851863","filename":"file2"},{"photo_id":"1352851861","filename":"file1"},{"photo_id":"1352851855","filename":"file0"},{"photo_id":"1352851867","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352851863":["hashtag1","hashtag2"]},{"1352851867":["hashtag1","hashtag2"]},{"1352851861":["hashtag1","hashtag2"]},{"1352851855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352851863, 1352851867, 1352851861, 1352851855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 68.41226840019226 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:03:03.067733
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/01/image_14042025_01_01_02_2432.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/01/image_14042025_01_01_02_2432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/01/image_14042025_01_01_02_2432.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851892"],"photo_id":"1352851892","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/a91c1f37609b8272917292f630892bdc.jpg","text":"TemporaryFile(/tmp/multipartBody895147579646058455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585443929,"filename":"image_14042025_01_01_02_2432.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851892"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851892"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 22.21896266937256 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:04:03.445971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:05:03.111880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:06:02.714420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:07:03.441870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:08:02.752354
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/02/image_14042025_01_02_01_4848.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/02/image_14042025_01_02_01_4848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/02/image_14042025_01_02_01_4848.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851971"],"photo_id":"1352851971","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/b778aae5c31973ef7778ec484c79d15c.jpg","text":"TemporaryFile(/tmp/multipartBody8741625631681818679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585743664,"filename":"image_14042025_01_02_01_4848.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851971"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851971"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.913427114486694 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:09:03.594024
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/08/image_14042025_01_08_01_5763.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/08/image_14042025_01_08_01_5763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/08/image_14042025_01_08_01_5763.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352851989"],"photo_id":"1352851989","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/970e25267b71dd4a272cd98bfe0dab35.jpg","text":"TemporaryFile(/tmp/multipartBody8297153064420973282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585804460,"filename":"image_14042025_01_08_01_5763.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352851989"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352851989"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.588521242141724 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:10:03.287746
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/09/image_14042025_01_09_01_4778.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/09/image_14042025_01_09_01_4778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/09/image_14042025_01_09_01_4778.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852007"],"photo_id":"1352852007","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/59e14902ec47c9bde37bff2c870bcc70.jpg","text":"TemporaryFile(/tmp/multipartBody7460223564917472038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585864156,"filename":"image_14042025_01_09_01_4778.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352852007"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352852007"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.661043167114258 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:11:03.687164
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/10/image_14042025_01_10_01_9067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/10/image_14042025_01_10_01_9067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/10/image_14042025_01_10_01_9067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 20.919509649276733 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bh58if</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bh58if</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:12:02.983527
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/10/image_14042025_01_10_01_9067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/10/image_14042025_01_10_01_9067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/10/image_14042025_01_10_01_9067.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852040"],"photo_id":"1352852040","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/0fe4a758c0d67377c20c695b5e1268e7.jpg","text":"TemporaryFile(/tmp/multipartBody3112726655320448977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744585983927,"filename":"image_14042025_01_10_01_9067.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352852040"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352852040"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.91312599182129 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:13:03.378239
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/11/image_14042025_01_11_01_9355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 15.946138381958008 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bhbmal</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bhbmal</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:14:02.692792
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/11/image_14042025_01_11_01_9355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 23.026751041412354 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bhfgge</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bhfgge</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:15:03.288399
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/11/image_14042025_01_11_01_9355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 20.20981192588806 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bhio2m</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bhio2m</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:16:02.894879
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/11/image_14042025_01_11_01_9355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 11.585920572280884 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bhllbd</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bhllbd</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:17:03.655390
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/11/image_14042025_01_11_01_9355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 21.12645721435547 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bhpldd</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bhpldd</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:18:03.051574
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/11/image_14042025_01_11_01_9355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/11/image_14042025_01_11_01_9355.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852129"],"photo_id":"1352852129","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/d8d755988c63a569b7b949426296b9c7.jpg","text":"TemporaryFile(/tmp/multipartBody4870791395040630894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744586343851,"filename":"image_14042025_01_11_01_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352852129"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352852129"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.69498562812805 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:19:03.813681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:20:02.949280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:21:03.588020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:22:03.299186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:23:04.023170
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/23/image_14042025_01_23_01_9971.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/23/image_14042025_01_23_01_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/23/image_14042025_01_23_01_9971.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 26.47446918487549 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bikgdd</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bikgdd</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:24:03.313833
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/23/image_14042025_01_23_01_9971.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/23/image_14042025_01_23_01_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/23/image_14042025_01_23_01_9971.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852213"],"photo_id":"1352852213","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/be51b0d9036fd4be189e78b365e095f1.jpg","text":"TemporaryFile(/tmp/multipartBody4843966401616880466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744586704234,"filename":"image_14042025_01_23_01_9971.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352852213"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352852213"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 32.44357466697693 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:25:06.782306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:26:07.259968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:27:03.326583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:28:03.393386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:29:03.151165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:30:02.605657
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:31:03.161514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:32:03.551947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:33:03.804504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:34:02.758402
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/13/image_14042025_01_13_01_5607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/13/image_14042025_01_13_01_5607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/13/image_14042025_01_13_01_5607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 13.072804927825928 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bk5941</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bk5941</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:35:03.358201
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/34/image_14042025_01_34_01_9952.jpg', 2), ('/home/pi/Desktop/images/14042025/01/13/image_14042025_01_13_01_5607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/34/image_14042025_01_34_01_9952.jpg', '/home/pi/Desktop/images/14042025/01/13/image_14042025_01_13_01_5607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/34/image_14042025_01_34_01_9952.jpg
/home/pi/Desktop/images/14042025/01/13/image_14042025_01_13_01_5607.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852368","1352852373"],"photo_ids_order":["1352852368","1352852373"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/ca9fe3e1cd36027922a4001206b655fb.jpg","text":"TemporaryFile(/tmp/multipartBody6413964227632284109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744587365038,"filename":"image_14042025_01_34_01_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/2c44c3fc81559b229e31f23a7d5bea84.jpg","text":"TemporaryFile(/tmp/multipartBody7281021725556449598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744587365038,"filename":"image_14042025_01_13_01_5607.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352852373","file0":"1352852368"},"map_files_photo_id_array":[{"photo_id":"1352852373","filename":"file1"},{"photo_id":"1352852368","filename":"file0"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352852368":["hashtag1","hashtag2"]},{"1352852373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352852368, 1352852373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 47.60519289970398 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:36:03.525110
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/35/image_14042025_01_35_01_4311.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/35/image_14042025_01_35_01_4311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/35/image_14042025_01_35_01_4311.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852386"],"photo_id":"1352852386","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/1c032c25b0991bf3765afa3a23a740d7.jpg","text":"TemporaryFile(/tmp/multipartBody4106875325352395253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744587424334,"filename":"image_14042025_01_35_01_4311.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352852386"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352852386"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.661985158920288 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:37:03.278403
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/36/image_14042025_01_36_01_5481.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/36/image_14042025_01_36_01_5481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/36/image_14042025_01_36_01_5481.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852394"],"photo_id":"1352852394","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/144ff8e3d563662d628f8b6f131aaa51.jpg","text":"TemporaryFile(/tmp/multipartBody5478200188187889589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744587484450,"filename":"image_14042025_01_36_01_5481.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352852394"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352852394"}],"hashtags":[],"portfolio_id":"22346191","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.112748622894287 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:38:02.626129
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 27.358497619628906 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bkjl36</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bkjl36</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:39:03.173428
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 22.893964529037476 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bkn028</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bkn028</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:40:03.363315
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 15.471052408218384 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bl003k</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bl003k</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:41:03.871588
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', '/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 55.176321506500244 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bl5i9m</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bl5i9m</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:42:03.108758
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', '/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 44.112329959869385 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bl8bgj</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bl8bgj</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:43:03.503778
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', '/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 24.534263134002686 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895blak0b</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895blak0b</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:44:02.888938
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', '/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 46.35517501831055 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895blfa3p</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895blfa3p</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:45:03.535313
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', '/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 41.41046500205994 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895blieeb</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895blieeb</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:46:02.759207
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', 2), ('/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg', '/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/38/image_14042025_01_38_01_5420.jpg
/home/pi/Desktop/images/14042025/01/37/image_14042025_01_37_02_1113.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852515","1352852518"],"photo_ids_order":["1352852515","1352852518"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/fa016f61f1d7756236905ede26deac08.jpg","text":"TemporaryFile(/tmp/multipartBody2006441020666132777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744588024003,"filename":"image_14042025_01_38_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/14/6f41be068e8edb6768fb87952b75f8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4900391149415505471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744588024003,"filename":"image_14042025_01_37_02_1113.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352852518","file0":"1352852515"},"map_files_photo_id_array":[{"photo_id":"1352852518","filename":"file1"},{"photo_id":"1352852515","filename":"file0"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352852515":["hashtag1","hashtag2"]},{"1352852518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352852515, 1352852518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 54.487669467926025 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:47:03.995244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:48:03.035939
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:49:03.712804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:50:03.102990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:51:03.322293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:52:03.435928
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
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 any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:53:03.331314
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload 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/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18227744102478 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bmja3f</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bmja3f</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:54:03.497399
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2359418869018555 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-14 01:55:03.377249
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 57.16650438308716 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bn1f4o</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bn1f4o</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:56:02.563828
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', 2), ('/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', '/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg
/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 53.719427824020386 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bn4jgj</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bn4jgj</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:57:03.512040
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', 2), ('/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', 2), ('/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', '/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', '/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg
/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg
/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.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-14 01:59:03.602495
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg', 2), ('/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', 2), ('/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', 2), ('/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg', '/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', '/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', '/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg
/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg
/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg
/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 151.21693563461304 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bnkfd8</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bnkfd8</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:02:03.289744
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/00/image_14042025_02_00_01_6472.jpg', 2), ('/home/pi/Desktop/images/14042025/01/59/image_14042025_01_59_01_3865.jpg', 2), ('/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg', 2), ('/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', 2), ('/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', 2), ('/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/00/image_14042025_02_00_01_6472.jpg', '/home/pi/Desktop/images/14042025/01/59/image_14042025_01_59_01_3865.jpg', '/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg', '/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', '/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', '/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/00/image_14042025_02_00_01_6472.jpg
/home/pi/Desktop/images/14042025/01/59/image_14042025_01_59_01_3865.jpg
/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg
/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg
/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg
/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 139.18152117729187 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bo43fn</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bo43fn</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:05:03.795460
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/00/image_14042025_02_00_01_6472.jpg', 2), ('/home/pi/Desktop/images/14042025/01/59/image_14042025_01_59_01_3865.jpg', 2), ('/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg', 2), ('/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', 2), ('/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', 2), ('/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/00/image_14042025_02_00_01_6472.jpg', '/home/pi/Desktop/images/14042025/01/59/image_14042025_01_59_01_3865.jpg', '/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg', '/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg', '/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg', '/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/00/image_14042025_02_00_01_6472.jpg
/home/pi/Desktop/images/14042025/01/59/image_14042025_01_59_01_3865.jpg
/home/pi/Desktop/images/14042025/01/57/image_14042025_01_57_01_2006.jpg
/home/pi/Desktop/images/14042025/01/56/image_14042025_01_56_01_5581.jpg
/home/pi/Desktop/images/14042025/01/55/image_14042025_01_55_02_1469.jpg
/home/pi/Desktop/images/14042025/01/54/image_14042025_01_54_01_3150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352852777","1352852774","1352852753","1352852764","1352852758","1352852769"],"photo_ids_order":["1352852753","1352852758","1352852764","1352852769","1352852774","1352852777"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/722ee6a544c954698a515d9afc67ade9.jpg","text":"TemporaryFile(/tmp/multipartBody2206770170078027646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744589167113,"filename":"image_14042025_01_54_01_3150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/cf616cbb10cbabef6b318ecfcce98ed8.jpg","text":"TemporaryFile(/tmp/multipartBody3141786583635580459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744589167113,"filename":"image_14042025_01_55_02_1469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/76f623cafdf43f831213467bd39ae711.jpg","text":"TemporaryFile(/tmp/multipartBody3251510390281946630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744589167113,"filename":"image_14042025_02_00_01_6472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/41db7790a829d96273f342c4c00ef66d.jpg","text":"TemporaryFile(/tmp/multipartBody1442741618370376780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744589167113,"filename":"image_14042025_01_57_01_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/14/73b7d94a94fe0fae051187e8ed3f4d18.jpg","text":"TemporaryFile(/tmp/multipartBody58910441179437841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744589167113,"filename":"image_14042025_01_59_01_3865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/14/4449a2fdaddcda5c3a7e5b18425e8a47.jpg","text":"TemporaryFile(/tmp/multipartBody1058793087240256963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744589167113,"filename":"image_14042025_01_56_01_5581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352852764","file1":"1352852758","file0":"1352852753","file4":"1352852774","file5":"1352852777","file3":"1352852769"},"map_files_photo_id_array":[{"photo_id":"1352852777","filename":"file5"},{"photo_id":"1352852764","filename":"file2"},{"photo_id":"1352852774","filename":"file4"},{"photo_id":"1352852758","filename":"file1"},{"photo_id":"1352852753","filename":"file0"},{"photo_id":"1352852769","filename":"file3"}],"portfolio_id":22346191,"hashtag_by_photo_ids":[{"1352852777":["hashtag1","hashtag2"]},{"1352852774":["hashtag1","hashtag2"]},{"1352852753":["hashtag1","hashtag2"]},{"1352852764":["hashtag1","hashtag2"]},{"1352852758":["hashtag1","hashtag2"]},{"1352852769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346191 used, photo_id : ArrayBuffer(1352852777, 1352852774, 1352852753, 1352852764, 1352852758, 1352852769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 142.33774089813232 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:08:03.008047
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 79.1001148223877 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bol4oe</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bol4oe</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:10:03.002910
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 97.85470247268677 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bp324o</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bp324o</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:12:03.192054
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg', 2), ('/home/pi/Desktop/images/14042025/02/06/image_14042025_02_06_02_1005.jpg', 2), ('/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2), ('/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg', '/home/pi/Desktop/images/14042025/02/06/image_14042025_02_06_02_1005.jpg', '/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', '/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg
/home/pi/Desktop/images/14042025/02/06/image_14042025_02_06_02_1005.jpg
/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
/home/pi/Desktop/images/14042025/01/41/image_14042025_01_41_02_0369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 110.99350070953369 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bpahaj</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bpahaj</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:14:03.457584
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg', 2), ('/home/pi/Desktop/images/14042025/02/12/image_14042025_02_12_01_8972.jpg', 2), ('/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg', 2), ('/home/pi/Desktop/images/14042025/02/06/image_14042025_02_06_02_1005.jpg', 2), ('/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', 2), ('/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg', '/home/pi/Desktop/images/14042025/02/12/image_14042025_02_12_01_8972.jpg', '/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg', '/home/pi/Desktop/images/14042025/02/06/image_14042025_02_06_02_1005.jpg', '/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg', '/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg
/home/pi/Desktop/images/14042025/02/12/image_14042025_02_12_01_8972.jpg
/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg
/home/pi/Desktop/images/14042025/02/06/image_14042025_02_06_02_1005.jpg
/home/pi/Desktop/images/14042025/02/02/image_14042025_02_02_02_1282.jpg
/home/pi/Desktop/images/14042025/01/53/image_14042025_01_53_02_0598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 155.04722690582275 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895bpk09n</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895bpk09n</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:17:03.128733
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', 2), ('/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg', 2), ('/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg', 2), ('/home/pi/Desktop/images/14042025/02/12/image_14042025_02_12_01_8972.jpg', 2), ('/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', '/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', '/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg', '/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg', '/home/pi/Desktop/images/14042025/02/12/image_14042025_02_12_01_8972.jpg', '/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg
/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg
/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg
/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg
/home/pi/Desktop/images/14042025/02/12/image_14042025_02_12_01_8972.jpg
/home/pi/Desktop/images/14042025/02/11/image_14042025_02_11_01_6468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 165.1668679714203 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c04l3b</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c04l3b</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:20:02.977077
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', 2), ('/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', 2), ('/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', 2), ('/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg', 2), ('/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', '/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', '/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', '/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', '/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg', '/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg
/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg
/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg
/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg
/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg
/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 144.0618441104889 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c0dln7</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c0dln7</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:23:03.579968
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', 2), ('/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', 2), ('/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', 2), ('/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg', 2), ('/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', '/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', '/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', '/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', '/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg', '/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg
/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg
/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg
/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg
/home/pi/Desktop/images/14042025/02/14/image_14042025_02_14_01_5121.jpg
/home/pi/Desktop/images/14042025/02/13/image_14042025_02_13_01_8856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 162.88937282562256 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c0p50n</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c0p50n</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:26:06.895652
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2), ('/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', 2), ('/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', 2), ('/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', 2), ('/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', '/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', '/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', '/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', '/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg', '/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg
/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg
/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg
/home/pi/Desktop/images/14042025/02/16/image_14042025_02_16_01_6075.jpg
/home/pi/Desktop/images/14042025/02/15/image_14042025_02_15_02_0664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 138.83233404159546 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c186e3</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c186e3</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:29:03.226978
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', 2), ('/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', 2), ('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2), ('/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', 2), ('/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', 2), ('/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', '/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', '/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', '/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', '/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', '/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg
/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg
/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg
/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 174.02634835243225 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c1k7cn</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c1k7cn</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:32:02.631364
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', 2), ('/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', 2), ('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2), ('/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', 2), ('/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', 2), ('/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', '/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', '/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', '/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', '/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg', '/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg
/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg
/home/pi/Desktop/images/14042025/02/18/image_14042025_02_18_01_3570.jpg
/home/pi/Desktop/images/14042025/02/17/image_14042025_02_17_01_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 153.30308079719543 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c2385m</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c2385m</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:35:03.182515
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', 2), ('/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', 2), ('/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', 2), ('/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', 2), ('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2), ('/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', '/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', '/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', '/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', '/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', '/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg
/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg
/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg
/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
/home/pi/Desktop/images/14042025/02/19/image_14042025_02_19_01_1843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 167.70718455314636 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c2eadb</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c2eadb</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:38:03.425723
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', 2), ('/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', 2), ('/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', 2), ('/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', 2), ('/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', 2), ('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', '/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', '/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', '/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', '/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', '/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg
/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg
/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg
/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg
/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 170.78492307662964 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c2olhl</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c2olhl</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:41:03.324026
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', 2), ('/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', 2), ('/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', 2), ('/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', 2), ('/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', 2), ('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', '/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', '/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', '/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', '/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', '/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg
/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg
/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg
/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg
/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 176.6590232849121 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c39adl</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c39adl</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:44:03.129488
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', 2), ('/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', 2), ('/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', 2), ('/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', 2), ('/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', 2), ('/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', '/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', '/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', '/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg', '/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg', '/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg
/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg
/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg
/home/pi/Desktop/images/14042025/02/27/image_14042025_02_27_01_8282.jpg
/home/pi/Desktop/images/14042025/02/26/image_14042025_02_26_01_8022.jpg
/home/pi/Desktop/images/14042025/02/25/image_14042025_02_25_01_4426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 191.95317387580872 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c3kd19</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c3kd19</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:48:03.209055
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg', 2), ('/home/pi/Desktop/images/14042025/02/46/image_14042025_02_46_01_5007.jpg', 2), ('/home/pi/Desktop/images/14042025/02/36/image_14042025_02_36_01_4670.jpg', 2), ('/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', 2), ('/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', 2), ('/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg', '/home/pi/Desktop/images/14042025/02/46/image_14042025_02_46_01_5007.jpg', '/home/pi/Desktop/images/14042025/02/36/image_14042025_02_36_01_4670.jpg', '/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg', '/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg', '/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg
/home/pi/Desktop/images/14042025/02/46/image_14042025_02_46_01_5007.jpg
/home/pi/Desktop/images/14042025/02/36/image_14042025_02_36_01_4670.jpg
/home/pi/Desktop/images/14042025/02/35/image_14042025_02_35_01_2464.jpg
/home/pi/Desktop/images/14042025/02/34/image_14042025_02_34_01_5844.jpg
/home/pi/Desktop/images/14042025/02/28/image_14042025_02_28_01_8775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 193.19809293746948 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c48629</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c48629</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:52:03.481053
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg', 2), ('/home/pi/Desktop/images/14042025/02/50/image_14042025_02_50_02_1271.jpg', 2), ('/home/pi/Desktop/images/14042025/02/48/image_14042025_02_48_01_2978.jpg', 2), ('/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg', 2), ('/home/pi/Desktop/images/14042025/02/46/image_14042025_02_46_01_5007.jpg', 2), ('/home/pi/Desktop/images/14042025/02/36/image_14042025_02_36_01_4670.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg', '/home/pi/Desktop/images/14042025/02/50/image_14042025_02_50_02_1271.jpg', '/home/pi/Desktop/images/14042025/02/48/image_14042025_02_48_01_2978.jpg', '/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg', '/home/pi/Desktop/images/14042025/02/46/image_14042025_02_46_01_5007.jpg', '/home/pi/Desktop/images/14042025/02/36/image_14042025_02_36_01_4670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg
/home/pi/Desktop/images/14042025/02/50/image_14042025_02_50_02_1271.jpg
/home/pi/Desktop/images/14042025/02/48/image_14042025_02_48_01_2978.jpg
/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg
/home/pi/Desktop/images/14042025/02/46/image_14042025_02_46_01_5007.jpg
/home/pi/Desktop/images/14042025/02/36/image_14042025_02_36_01_4670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 197.68164801597595 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c4m48i</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c4m48i</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:56:02.991743
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/53/image_14042025_02_53_02_1256.jpg', 2), ('/home/pi/Desktop/images/14042025/02/52/image_14042025_02_52_01_6442.jpg', 2), ('/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg', 2), ('/home/pi/Desktop/images/14042025/02/50/image_14042025_02_50_02_1271.jpg', 2), ('/home/pi/Desktop/images/14042025/02/48/image_14042025_02_48_01_2978.jpg', 2), ('/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/53/image_14042025_02_53_02_1256.jpg', '/home/pi/Desktop/images/14042025/02/52/image_14042025_02_52_01_6442.jpg', '/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg', '/home/pi/Desktop/images/14042025/02/50/image_14042025_02_50_02_1271.jpg', '/home/pi/Desktop/images/14042025/02/48/image_14042025_02_48_01_2978.jpg', '/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/53/image_14042025_02_53_02_1256.jpg
/home/pi/Desktop/images/14042025/02/52/image_14042025_02_52_01_6442.jpg
/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg
/home/pi/Desktop/images/14042025/02/50/image_14042025_02_50_02_1271.jpg
/home/pi/Desktop/images/14042025/02/48/image_14042025_02_48_01_2978.jpg
/home/pi/Desktop/images/14042025/02/47/image_14042025_02_47_02_1164.jpg
 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-14 02:59:03.370074
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/02/58/image_14042025_02_58_01_9252.jpg', 2), ('/home/pi/Desktop/images/14042025/02/57/image_14042025_02_57_01_7079.jpg', 2), ('/home/pi/Desktop/images/14042025/02/55/image_14042025_02_55_01_9779.jpg', 2), ('/home/pi/Desktop/images/14042025/02/53/image_14042025_02_53_02_1256.jpg', 2), ('/home/pi/Desktop/images/14042025/02/52/image_14042025_02_52_01_6442.jpg', 2), ('/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/02/58/image_14042025_02_58_01_9252.jpg', '/home/pi/Desktop/images/14042025/02/57/image_14042025_02_57_01_7079.jpg', '/home/pi/Desktop/images/14042025/02/55/image_14042025_02_55_01_9779.jpg', '/home/pi/Desktop/images/14042025/02/53/image_14042025_02_53_02_1256.jpg', '/home/pi/Desktop/images/14042025/02/52/image_14042025_02_52_01_6442.jpg', '/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/02/58/image_14042025_02_58_01_9252.jpg
/home/pi/Desktop/images/14042025/02/57/image_14042025_02_57_01_7079.jpg
/home/pi/Desktop/images/14042025/02/55/image_14042025_02_55_01_9779.jpg
/home/pi/Desktop/images/14042025/02/53/image_14042025_02_53_02_1256.jpg
/home/pi/Desktop/images/14042025/02/52/image_14042025_02_52_01_6442.jpg
/home/pi/Desktop/images/14042025/02/51/image_14042025_02_51_01_6927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 201.28029680252075 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c5k40b</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c5k40b</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:03:03.419244
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg', 2), ('/home/pi/Desktop/images/14042025/03/01/image_14042025_03_01_02_1125.jpg', 2), ('/home/pi/Desktop/images/14042025/02/59/image_14042025_02_59_01_3115.jpg', 2), ('/home/pi/Desktop/images/14042025/02/58/image_14042025_02_58_01_9252.jpg', 2), ('/home/pi/Desktop/images/14042025/02/57/image_14042025_02_57_01_7079.jpg', 2), ('/home/pi/Desktop/images/14042025/02/55/image_14042025_02_55_01_9779.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg', '/home/pi/Desktop/images/14042025/03/01/image_14042025_03_01_02_1125.jpg', '/home/pi/Desktop/images/14042025/02/59/image_14042025_02_59_01_3115.jpg', '/home/pi/Desktop/images/14042025/02/58/image_14042025_02_58_01_9252.jpg', '/home/pi/Desktop/images/14042025/02/57/image_14042025_02_57_01_7079.jpg', '/home/pi/Desktop/images/14042025/02/55/image_14042025_02_55_01_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg
/home/pi/Desktop/images/14042025/03/01/image_14042025_03_01_02_1125.jpg
/home/pi/Desktop/images/14042025/02/59/image_14042025_02_59_01_3115.jpg
/home/pi/Desktop/images/14042025/02/58/image_14042025_02_58_01_9252.jpg
/home/pi/Desktop/images/14042025/02/57/image_14042025_02_57_01_7079.jpg
/home/pi/Desktop/images/14042025/02/55/image_14042025_02_55_01_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 193.04117107391357 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c67be6</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c67be6</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:07:03.334763
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg', 2), ('/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg', 2), ('/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg', 2), ('/home/pi/Desktop/images/14042025/03/02/image_14042025_03_02_02_1927.jpg', 2), ('/home/pi/Desktop/images/14042025/03/01/image_14042025_03_01_02_1125.jpg', 2), ('/home/pi/Desktop/images/14042025/02/59/image_14042025_02_59_01_3115.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg', '/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg', '/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg', '/home/pi/Desktop/images/14042025/03/02/image_14042025_03_02_02_1927.jpg', '/home/pi/Desktop/images/14042025/03/01/image_14042025_03_01_02_1125.jpg', '/home/pi/Desktop/images/14042025/02/59/image_14042025_02_59_01_3115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg
/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg
/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg
/home/pi/Desktop/images/14042025/03/02/image_14042025_03_02_02_1927.jpg
/home/pi/Desktop/images/14042025/03/01/image_14042025_03_01_02_1125.jpg
/home/pi/Desktop/images/14042025/02/59/image_14042025_02_59_01_3115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 175.2190568447113 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c6k26k</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c6k26k</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:10:03.057200
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/09/image_14042025_03_09_01_8498.jpg', 2), ('/home/pi/Desktop/images/14042025/03/06/image_14042025_03_06_02_0683.jpg', 2), ('/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg', 2), ('/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg', 2), ('/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg', 2), ('/home/pi/Desktop/images/14042025/03/02/image_14042025_03_02_02_1927.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/09/image_14042025_03_09_01_8498.jpg', '/home/pi/Desktop/images/14042025/03/06/image_14042025_03_06_02_0683.jpg', '/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg', '/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg', '/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg', '/home/pi/Desktop/images/14042025/03/02/image_14042025_03_02_02_1927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/09/image_14042025_03_09_01_8498.jpg
/home/pi/Desktop/images/14042025/03/06/image_14042025_03_06_02_0683.jpg
/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg
/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg
/home/pi/Desktop/images/14042025/03/03/image_14042025_03_03_01_4208.jpg
/home/pi/Desktop/images/14042025/03/02/image_14042025_03_02_02_1927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 226.27365159988403 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c775cl</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c775cl</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:14:03.527785
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/11/image_14042025_03_11_01_7889.jpg', 2), ('/home/pi/Desktop/images/14042025/03/10/image_14042025_03_10_02_0829.jpg', 2), ('/home/pi/Desktop/images/14042025/03/09/image_14042025_03_09_01_8498.jpg', 2), ('/home/pi/Desktop/images/14042025/03/06/image_14042025_03_06_02_0683.jpg', 2), ('/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg', 2), ('/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/11/image_14042025_03_11_01_7889.jpg', '/home/pi/Desktop/images/14042025/03/10/image_14042025_03_10_02_0829.jpg', '/home/pi/Desktop/images/14042025/03/09/image_14042025_03_09_01_8498.jpg', '/home/pi/Desktop/images/14042025/03/06/image_14042025_03_06_02_0683.jpg', '/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg', '/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/11/image_14042025_03_11_01_7889.jpg
/home/pi/Desktop/images/14042025/03/10/image_14042025_03_10_02_0829.jpg
/home/pi/Desktop/images/14042025/03/09/image_14042025_03_09_01_8498.jpg
/home/pi/Desktop/images/14042025/03/06/image_14042025_03_06_02_0683.jpg
/home/pi/Desktop/images/14042025/03/05/image_14042025_03_05_02_1724.jpg
/home/pi/Desktop/images/14042025/03/04/image_14042025_03_04_01_5798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 209.03898429870605 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c7jnij</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c7jnij</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:18:02.742345
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg', 2), ('/home/pi/Desktop/images/14042025/03/16/image_14042025_03_16_01_3627.jpg', 2), ('/home/pi/Desktop/images/14042025/03/15/image_14042025_03_15_02_3573.jpg', 2), ('/home/pi/Desktop/images/14042025/03/14/image_14042025_03_14_02_0197.jpg', 2), ('/home/pi/Desktop/images/14042025/03/11/image_14042025_03_11_01_7889.jpg', 2), ('/home/pi/Desktop/images/14042025/03/10/image_14042025_03_10_02_0829.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg', '/home/pi/Desktop/images/14042025/03/16/image_14042025_03_16_01_3627.jpg', '/home/pi/Desktop/images/14042025/03/15/image_14042025_03_15_02_3573.jpg', '/home/pi/Desktop/images/14042025/03/14/image_14042025_03_14_02_0197.jpg', '/home/pi/Desktop/images/14042025/03/11/image_14042025_03_11_01_7889.jpg', '/home/pi/Desktop/images/14042025/03/10/image_14042025_03_10_02_0829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg
/home/pi/Desktop/images/14042025/03/16/image_14042025_03_16_01_3627.jpg
/home/pi/Desktop/images/14042025/03/15/image_14042025_03_15_02_3573.jpg
/home/pi/Desktop/images/14042025/03/14/image_14042025_03_14_02_0197.jpg
/home/pi/Desktop/images/14042025/03/11/image_14042025_03_11_01_7889.jpg
/home/pi/Desktop/images/14042025/03/10/image_14042025_03_10_02_0829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 196.80290699005127 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c86lf8</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c86lf8</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:22:03.339609
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', 2), ('/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg', 2), ('/home/pi/Desktop/images/14042025/03/18/image_14042025_03_18_01_3716.jpg', 2), ('/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg', 2), ('/home/pi/Desktop/images/14042025/03/16/image_14042025_03_16_01_3627.jpg', 2), ('/home/pi/Desktop/images/14042025/03/15/image_14042025_03_15_02_3573.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', '/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg', '/home/pi/Desktop/images/14042025/03/18/image_14042025_03_18_01_3716.jpg', '/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg', '/home/pi/Desktop/images/14042025/03/16/image_14042025_03_16_01_3627.jpg', '/home/pi/Desktop/images/14042025/03/15/image_14042025_03_15_02_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg
/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg
/home/pi/Desktop/images/14042025/03/18/image_14042025_03_18_01_3716.jpg
/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg
/home/pi/Desktop/images/14042025/03/16/image_14042025_03_16_01_3627.jpg
/home/pi/Desktop/images/14042025/03/15/image_14042025_03_15_02_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 202.49916863441467 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c8klke</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c8klke</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:26:05.094838
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', 2), ('/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', 2), ('/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', 2), ('/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg', 2), ('/home/pi/Desktop/images/14042025/03/18/image_14042025_03_18_01_3716.jpg', 2), ('/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', '/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', '/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', '/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg', '/home/pi/Desktop/images/14042025/03/18/image_14042025_03_18_01_3716.jpg', '/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg
/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg
/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg
/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg
/home/pi/Desktop/images/14042025/03/18/image_14042025_03_18_01_3716.jpg
/home/pi/Desktop/images/14042025/03/17/image_14042025_03_17_02_2421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 187.23837018013 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c97ilo</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c97ilo</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:30:02.811116
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', 2), ('/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', 2), ('/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', 2), ('/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', 2), ('/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', 2), ('/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', '/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', '/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', '/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', '/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', '/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg
/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg
/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg
/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg
/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg
/home/pi/Desktop/images/14042025/03/20/image_14042025_03_20_01_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 224.38835430145264 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895c9n9db</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895c9n9db</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:34:03.221823
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', 2), ('/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', 2), ('/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', 2), ('/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', 2), ('/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', 2), ('/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', '/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', '/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', '/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', '/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', '/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg
/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg
/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg
/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg
/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg
/home/pi/Desktop/images/14042025/03/21/image_14042025_03_21_01_6719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 233.21711254119873 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cabe5o</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cabe5o</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:38:02.608010
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', 2), ('/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', 2), ('/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', 2), ('/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', 2), ('/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', 2), ('/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', '/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', '/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', '/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', '/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', '/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg
/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg
/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg
/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg
/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg
/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 223.37326502799988 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895caofj4</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895caofj4</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:42:03.517928
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', 2), ('/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', 2), ('/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', 2), ('/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', 2), ('/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', 2), ('/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', '/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', '/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', '/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', '/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', '/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg
/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg
/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg
/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg
/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg
/home/pi/Desktop/images/14042025/03/22/image_14042025_03_22_01_6107.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 218.39324378967285 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cbc0on</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cbc0on</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:46:03.442435
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/36/image_14042025_03_36_01_3711.jpg', 2), ('/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', 2), ('/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', 2), ('/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', 2), ('/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', 2), ('/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/36/image_14042025_03_36_01_3711.jpg', '/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', '/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', '/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', '/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg', '/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/36/image_14042025_03_36_01_3711.jpg
/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg
/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg
/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg
/home/pi/Desktop/images/14042025/03/26/image_14042025_03_26_01_4686.jpg
/home/pi/Desktop/images/14042025/03/24/image_14042025_03_24_02_1700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 192.07790350914001 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cbo4ja</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cbo4ja</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:50:03.464620
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg', 2), ('/home/pi/Desktop/images/14042025/03/46/image_14042025_03_46_02_1217.jpg', 2), ('/home/pi/Desktop/images/14042025/03/36/image_14042025_03_36_01_3711.jpg', 2), ('/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', 2), ('/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', 2), ('/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg', '/home/pi/Desktop/images/14042025/03/46/image_14042025_03_46_02_1217.jpg', '/home/pi/Desktop/images/14042025/03/36/image_14042025_03_36_01_3711.jpg', '/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg', '/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg', '/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg
/home/pi/Desktop/images/14042025/03/46/image_14042025_03_46_02_1217.jpg
/home/pi/Desktop/images/14042025/03/36/image_14042025_03_36_01_3711.jpg
/home/pi/Desktop/images/14042025/03/31/image_14042025_03_31_01_4957.jpg
/home/pi/Desktop/images/14042025/03/28/image_14042025_03_28_01_4858.jpg
/home/pi/Desktop/images/14042025/03/27/image_14042025_03_27_00_4590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 195.16635298728943 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895ccc07d</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895ccc07d</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:54:03.016791
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg', 2), ('/home/pi/Desktop/images/14042025/03/52/image_14042025_03_52_01_4883.jpg', 2), ('/home/pi/Desktop/images/14042025/03/51/image_14042025_03_51_02_1378.jpg', 2), ('/home/pi/Desktop/images/14042025/03/50/image_14042025_03_50_01_6123.jpg', 2), ('/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg', 2), ('/home/pi/Desktop/images/14042025/03/46/image_14042025_03_46_02_1217.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg', '/home/pi/Desktop/images/14042025/03/52/image_14042025_03_52_01_4883.jpg', '/home/pi/Desktop/images/14042025/03/51/image_14042025_03_51_02_1378.jpg', '/home/pi/Desktop/images/14042025/03/50/image_14042025_03_50_01_6123.jpg', '/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg', '/home/pi/Desktop/images/14042025/03/46/image_14042025_03_46_02_1217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg
/home/pi/Desktop/images/14042025/03/52/image_14042025_03_52_01_4883.jpg
/home/pi/Desktop/images/14042025/03/51/image_14042025_03_51_02_1378.jpg
/home/pi/Desktop/images/14042025/03/50/image_14042025_03_50_01_6123.jpg
/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg
/home/pi/Desktop/images/14042025/03/46/image_14042025_03_46_02_1217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 194.71169471740723 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895ccpg1g</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895ccpg1g</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:59:03.313228
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg', 2), ('/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg', 2), ('/home/pi/Desktop/images/14042025/03/52/image_14042025_03_52_01_4883.jpg', 2), ('/home/pi/Desktop/images/14042025/03/51/image_14042025_03_51_02_1378.jpg', 2), ('/home/pi/Desktop/images/14042025/03/50/image_14042025_03_50_01_6123.jpg', 2), ('/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg', '/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg', '/home/pi/Desktop/images/14042025/03/52/image_14042025_03_52_01_4883.jpg', '/home/pi/Desktop/images/14042025/03/51/image_14042025_03_51_02_1378.jpg', '/home/pi/Desktop/images/14042025/03/50/image_14042025_03_50_01_6123.jpg', '/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg
/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg
/home/pi/Desktop/images/14042025/03/52/image_14042025_03_52_01_4883.jpg
/home/pi/Desktop/images/14042025/03/51/image_14042025_03_51_02_1378.jpg
/home/pi/Desktop/images/14042025/03/50/image_14042025_03_50_01_6123.jpg
/home/pi/Desktop/images/14042025/03/49/image_14042025_03_49_01_4378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 236.31486773490906 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cdj1l7</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cdj1l7</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:03:03.667773
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg', 2), ('/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg', 2), ('/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg', 2), ('/home/pi/Desktop/images/14042025/03/57/image_14042025_03_57_01_4434.jpg', 2), ('/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg', 2), ('/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg', '/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg', '/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg', '/home/pi/Desktop/images/14042025/03/57/image_14042025_03_57_01_4434.jpg', '/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg', '/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg
/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg
/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg
/home/pi/Desktop/images/14042025/03/57/image_14042025_03_57_01_4434.jpg
/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg
/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 193.61705660820007 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895ce485d</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895ce485d</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:07:03.858689
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg', 2), ('/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg', 2), ('/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg', 2), ('/home/pi/Desktop/images/14042025/03/57/image_14042025_03_57_01_4434.jpg', 2), ('/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg', 2), ('/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg', '/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg', '/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg', '/home/pi/Desktop/images/14042025/03/57/image_14042025_03_57_01_4434.jpg', '/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg', '/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg
/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg
/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg
/home/pi/Desktop/images/14042025/03/57/image_14042025_03_57_01_4434.jpg
/home/pi/Desktop/images/14042025/03/54/image_14042025_03_54_01_5926.jpg
/home/pi/Desktop/images/14042025/03/53/image_14042025_03_53_01_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 217.01952147483826 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cej84l</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cej84l</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:11:03.728815
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg', 2), ('/home/pi/Desktop/images/14042025/04/09/image_14042025_04_09_01_4074.jpg', 2), ('/home/pi/Desktop/images/14042025/04/03/image_14042025_04_03_02_2066.jpg', 2), ('/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg', 2), ('/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg', 2), ('/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg', '/home/pi/Desktop/images/14042025/04/09/image_14042025_04_09_01_4074.jpg', '/home/pi/Desktop/images/14042025/04/03/image_14042025_04_03_02_2066.jpg', '/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg', '/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg', '/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg
/home/pi/Desktop/images/14042025/04/09/image_14042025_04_09_01_4074.jpg
/home/pi/Desktop/images/14042025/04/03/image_14042025_04_03_02_2066.jpg
/home/pi/Desktop/images/14042025/04/02/image_14042025_04_02_01_6270.jpg
/home/pi/Desktop/images/14042025/04/01/image_14042025_04_01_01_4427.jpg
/home/pi/Desktop/images/14042025/04/00/image_14042025_04_00_01_5960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 198.46653079986572 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cf5ngn</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cf5ngn</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:15:04.052416
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/04/13/image_14042025_04_13_01_2909.jpg', 2), ('/home/pi/Desktop/images/14042025/04/12/image_14042025_04_12_01_8725.jpg', 2), ('/home/pi/Desktop/images/14042025/04/11/image_14042025_04_11_01_6469.jpg', 2), ('/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg', 2), ('/home/pi/Desktop/images/14042025/04/09/image_14042025_04_09_01_4074.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg', '/home/pi/Desktop/images/14042025/04/13/image_14042025_04_13_01_2909.jpg', '/home/pi/Desktop/images/14042025/04/12/image_14042025_04_12_01_8725.jpg', '/home/pi/Desktop/images/14042025/04/11/image_14042025_04_11_01_6469.jpg', '/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg', '/home/pi/Desktop/images/14042025/04/09/image_14042025_04_09_01_4074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg
/home/pi/Desktop/images/14042025/04/13/image_14042025_04_13_01_2909.jpg
/home/pi/Desktop/images/14042025/04/12/image_14042025_04_12_01_8725.jpg
/home/pi/Desktop/images/14042025/04/11/image_14042025_04_11_01_6469.jpg
/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg
/home/pi/Desktop/images/14042025/04/09/image_14042025_04_09_01_4074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 197.10039567947388 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cfjd1l</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cfjd1l</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:19:03.652563
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/15/image_14042025_04_15_01_9740.jpg', 2), ('/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/04/13/image_14042025_04_13_01_2909.jpg', 2), ('/home/pi/Desktop/images/14042025/04/12/image_14042025_04_12_01_8725.jpg', 2), ('/home/pi/Desktop/images/14042025/04/11/image_14042025_04_11_01_6469.jpg', 2), ('/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/15/image_14042025_04_15_01_9740.jpg', '/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg', '/home/pi/Desktop/images/14042025/04/13/image_14042025_04_13_01_2909.jpg', '/home/pi/Desktop/images/14042025/04/12/image_14042025_04_12_01_8725.jpg', '/home/pi/Desktop/images/14042025/04/11/image_14042025_04_11_01_6469.jpg', '/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/15/image_14042025_04_15_01_9740.jpg
/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg
/home/pi/Desktop/images/14042025/04/13/image_14042025_04_13_01_2909.jpg
/home/pi/Desktop/images/14042025/04/12/image_14042025_04_12_01_8725.jpg
/home/pi/Desktop/images/14042025/04/11/image_14042025_04_11_01_6469.jpg
/home/pi/Desktop/images/14042025/04/10/image_14042025_04_10_01_5795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 240.08671593666077 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cg9f58</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cg9f58</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:24:03.306984
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/23/image_14042025_04_23_01_4350.jpg', 2), ('/home/pi/Desktop/images/14042025/04/22/image_14042025_04_22_01_9278.jpg', 2), ('/home/pi/Desktop/images/14042025/04/20/image_14042025_04_20_01_9126.jpg', 2), ('/home/pi/Desktop/images/14042025/04/18/image_14042025_04_18_01_3142.jpg', 2), ('/home/pi/Desktop/images/14042025/04/15/image_14042025_04_15_01_9740.jpg', 2), ('/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/23/image_14042025_04_23_01_4350.jpg', '/home/pi/Desktop/images/14042025/04/22/image_14042025_04_22_01_9278.jpg', '/home/pi/Desktop/images/14042025/04/20/image_14042025_04_20_01_9126.jpg', '/home/pi/Desktop/images/14042025/04/18/image_14042025_04_18_01_3142.jpg', '/home/pi/Desktop/images/14042025/04/15/image_14042025_04_15_01_9740.jpg', '/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/23/image_14042025_04_23_01_4350.jpg
/home/pi/Desktop/images/14042025/04/22/image_14042025_04_22_01_9278.jpg
/home/pi/Desktop/images/14042025/04/20/image_14042025_04_20_01_9126.jpg
/home/pi/Desktop/images/14042025/04/18/image_14042025_04_18_01_3142.jpg
/home/pi/Desktop/images/14042025/04/15/image_14042025_04_15_01_9740.jpg
/home/pi/Desktop/images/14042025/04/14/image_14042025_04_14_01_3959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 240.7427670955658 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895ch0glb</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895ch0glb</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:29:04.460686
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/27/image_14042025_04_27_01_5329.jpg', 2), ('/home/pi/Desktop/images/14042025/04/26/image_14042025_04_26_01_8430.jpg', 2), ('/home/pi/Desktop/images/14042025/04/25/image_14042025_04_25_01_8795.jpg', 2), ('/home/pi/Desktop/images/14042025/04/24/image_14042025_04_24_01_2728.jpg', 2), ('/home/pi/Desktop/images/14042025/04/23/image_14042025_04_23_01_4350.jpg', 2), ('/home/pi/Desktop/images/14042025/04/22/image_14042025_04_22_01_9278.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/27/image_14042025_04_27_01_5329.jpg', '/home/pi/Desktop/images/14042025/04/26/image_14042025_04_26_01_8430.jpg', '/home/pi/Desktop/images/14042025/04/25/image_14042025_04_25_01_8795.jpg', '/home/pi/Desktop/images/14042025/04/24/image_14042025_04_24_01_2728.jpg', '/home/pi/Desktop/images/14042025/04/23/image_14042025_04_23_01_4350.jpg', '/home/pi/Desktop/images/14042025/04/22/image_14042025_04_22_01_9278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/27/image_14042025_04_27_01_5329.jpg
/home/pi/Desktop/images/14042025/04/26/image_14042025_04_26_01_8430.jpg
/home/pi/Desktop/images/14042025/04/25/image_14042025_04_25_01_8795.jpg
/home/pi/Desktop/images/14042025/04/24/image_14042025_04_24_01_2728.jpg
/home/pi/Desktop/images/14042025/04/23/image_14042025_04_23_01_4350.jpg
/home/pi/Desktop/images/14042025/04/22/image_14042025_04_22_01_9278.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 162.45924520492554 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895chd92j</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895chd92j</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:32:02.642299
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/30/image_14042025_04_30_02_1875.jpg', 2), ('/home/pi/Desktop/images/14042025/04/28/image_14042025_04_28_01_4670.jpg', 2), ('/home/pi/Desktop/images/14042025/04/27/image_14042025_04_27_01_5329.jpg', 2), ('/home/pi/Desktop/images/14042025/04/26/image_14042025_04_26_01_8430.jpg', 2), ('/home/pi/Desktop/images/14042025/04/25/image_14042025_04_25_01_8795.jpg', 2), ('/home/pi/Desktop/images/14042025/04/24/image_14042025_04_24_01_2728.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/30/image_14042025_04_30_02_1875.jpg', '/home/pi/Desktop/images/14042025/04/28/image_14042025_04_28_01_4670.jpg', '/home/pi/Desktop/images/14042025/04/27/image_14042025_04_27_01_5329.jpg', '/home/pi/Desktop/images/14042025/04/26/image_14042025_04_26_01_8430.jpg', '/home/pi/Desktop/images/14042025/04/25/image_14042025_04_25_01_8795.jpg', '/home/pi/Desktop/images/14042025/04/24/image_14042025_04_24_01_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/30/image_14042025_04_30_02_1875.jpg
/home/pi/Desktop/images/14042025/04/28/image_14042025_04_28_01_4670.jpg
/home/pi/Desktop/images/14042025/04/27/image_14042025_04_27_01_5329.jpg
/home/pi/Desktop/images/14042025/04/26/image_14042025_04_26_01_8430.jpg
/home/pi/Desktop/images/14042025/04/25/image_14042025_04_25_01_8795.jpg
/home/pi/Desktop/images/14042025/04/24/image_14042025_04_24_01_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 205.13598918914795 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895chpnip</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895chpnip</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:36:03.028527
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/35/image_14042025_04_35_02_0946.jpg', 2), ('/home/pi/Desktop/images/14042025/04/34/image_14042025_04_34_01_6008.jpg', 2), ('/home/pi/Desktop/images/14042025/04/33/image_14042025_04_33_01_3090.jpg', 2), ('/home/pi/Desktop/images/14042025/04/31/image_14042025_04_31_01_5333.jpg', 2), ('/home/pi/Desktop/images/14042025/04/30/image_14042025_04_30_02_1875.jpg', 2), ('/home/pi/Desktop/images/14042025/04/28/image_14042025_04_28_01_4670.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/35/image_14042025_04_35_02_0946.jpg', '/home/pi/Desktop/images/14042025/04/34/image_14042025_04_34_01_6008.jpg', '/home/pi/Desktop/images/14042025/04/33/image_14042025_04_33_01_3090.jpg', '/home/pi/Desktop/images/14042025/04/31/image_14042025_04_31_01_5333.jpg', '/home/pi/Desktop/images/14042025/04/30/image_14042025_04_30_02_1875.jpg', '/home/pi/Desktop/images/14042025/04/28/image_14042025_04_28_01_4670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/35/image_14042025_04_35_02_0946.jpg
/home/pi/Desktop/images/14042025/04/34/image_14042025_04_34_01_6008.jpg
/home/pi/Desktop/images/14042025/04/33/image_14042025_04_33_01_3090.jpg
/home/pi/Desktop/images/14042025/04/31/image_14042025_04_31_01_5333.jpg
/home/pi/Desktop/images/14042025/04/30/image_14042025_04_30_02_1875.jpg
/home/pi/Desktop/images/14042025/04/28/image_14042025_04_28_01_4670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 192.18133401870728 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cicm3b</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cicm3b</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:40:03.067744
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg', 2), ('/home/pi/Desktop/images/14042025/04/38/image_14042025_04_38_02_0467.jpg', 2), ('/home/pi/Desktop/images/14042025/04/37/image_14042025_04_37_01_6779.jpg', 2), ('/home/pi/Desktop/images/14042025/04/36/image_14042025_04_36_01_1666.jpg', 2), ('/home/pi/Desktop/images/14042025/04/35/image_14042025_04_35_02_0946.jpg', 2), ('/home/pi/Desktop/images/14042025/04/34/image_14042025_04_34_01_6008.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg', '/home/pi/Desktop/images/14042025/04/38/image_14042025_04_38_02_0467.jpg', '/home/pi/Desktop/images/14042025/04/37/image_14042025_04_37_01_6779.jpg', '/home/pi/Desktop/images/14042025/04/36/image_14042025_04_36_01_1666.jpg', '/home/pi/Desktop/images/14042025/04/35/image_14042025_04_35_02_0946.jpg', '/home/pi/Desktop/images/14042025/04/34/image_14042025_04_34_01_6008.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg
/home/pi/Desktop/images/14042025/04/38/image_14042025_04_38_02_0467.jpg
/home/pi/Desktop/images/14042025/04/37/image_14042025_04_37_01_6779.jpg
/home/pi/Desktop/images/14042025/04/36/image_14042025_04_36_01_1666.jpg
/home/pi/Desktop/images/14042025/04/35/image_14042025_04_35_02_0946.jpg
/home/pi/Desktop/images/14042025/04/34/image_14042025_04_34_01_6008.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 169.5442657470703 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cip5nf</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cip5nf</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:43:03.542111
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg', 2), ('/home/pi/Desktop/images/14042025/04/40/image_14042025_04_40_01_8514.jpg', 2), ('/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg', 2), ('/home/pi/Desktop/images/14042025/04/38/image_14042025_04_38_02_0467.jpg', 2), ('/home/pi/Desktop/images/14042025/04/37/image_14042025_04_37_01_6779.jpg', 2), ('/home/pi/Desktop/images/14042025/04/36/image_14042025_04_36_01_1666.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg', '/home/pi/Desktop/images/14042025/04/40/image_14042025_04_40_01_8514.jpg', '/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg', '/home/pi/Desktop/images/14042025/04/38/image_14042025_04_38_02_0467.jpg', '/home/pi/Desktop/images/14042025/04/37/image_14042025_04_37_01_6779.jpg', '/home/pi/Desktop/images/14042025/04/36/image_14042025_04_36_01_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg
/home/pi/Desktop/images/14042025/04/40/image_14042025_04_40_01_8514.jpg
/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg
/home/pi/Desktop/images/14042025/04/38/image_14042025_04_38_02_0467.jpg
/home/pi/Desktop/images/14042025/04/37/image_14042025_04_37_01_6779.jpg
/home/pi/Desktop/images/14042025/04/36/image_14042025_04_36_01_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 190.0843768119812 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cjah6k</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cjah6k</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:47:03.293054
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/45/image_14042025_04_45_01_8631.jpg', 2), ('/home/pi/Desktop/images/14042025/04/44/image_14042025_04_44_01_9117.jpg', 2), ('/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg', 2), ('/home/pi/Desktop/images/14042025/04/41/image_14042025_04_41_01_7125.jpg', 2), ('/home/pi/Desktop/images/14042025/04/40/image_14042025_04_40_01_8514.jpg', 2), ('/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/45/image_14042025_04_45_01_8631.jpg', '/home/pi/Desktop/images/14042025/04/44/image_14042025_04_44_01_9117.jpg', '/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg', '/home/pi/Desktop/images/14042025/04/41/image_14042025_04_41_01_7125.jpg', '/home/pi/Desktop/images/14042025/04/40/image_14042025_04_40_01_8514.jpg', '/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/45/image_14042025_04_45_01_8631.jpg
/home/pi/Desktop/images/14042025/04/44/image_14042025_04_44_01_9117.jpg
/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg
/home/pi/Desktop/images/14042025/04/41/image_14042025_04_41_01_7125.jpg
/home/pi/Desktop/images/14042025/04/40/image_14042025_04_40_01_8514.jpg
/home/pi/Desktop/images/14042025/04/39/image_14042025_04_39_01_4346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 179.6573610305786 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cjnicf</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cjnicf</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:51:03.205911
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/50/image_14042025_04_50_01_4077.jpg', 2), ('/home/pi/Desktop/images/14042025/04/48/image_14042025_04_48_01_5639.jpg', 2), ('/home/pi/Desktop/images/14042025/04/46/image_14042025_04_46_01_3516.jpg', 2), ('/home/pi/Desktop/images/14042025/04/45/image_14042025_04_45_01_8631.jpg', 2), ('/home/pi/Desktop/images/14042025/04/44/image_14042025_04_44_01_9117.jpg', 2), ('/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/50/image_14042025_04_50_01_4077.jpg', '/home/pi/Desktop/images/14042025/04/48/image_14042025_04_48_01_5639.jpg', '/home/pi/Desktop/images/14042025/04/46/image_14042025_04_46_01_3516.jpg', '/home/pi/Desktop/images/14042025/04/45/image_14042025_04_45_01_8631.jpg', '/home/pi/Desktop/images/14042025/04/44/image_14042025_04_44_01_9117.jpg', '/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/50/image_14042025_04_50_01_4077.jpg
/home/pi/Desktop/images/14042025/04/48/image_14042025_04_48_01_5639.jpg
/home/pi/Desktop/images/14042025/04/46/image_14042025_04_46_01_3516.jpg
/home/pi/Desktop/images/14042025/04/45/image_14042025_04_45_01_8631.jpg
/home/pi/Desktop/images/14042025/04/44/image_14042025_04_44_01_9117.jpg
/home/pi/Desktop/images/14042025/04/43/image_14042025_04_43_01_7882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 192.74411606788635 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895ckc2jl</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895ckc2jl</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:55:03.801809
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/54/image_14042025_04_54_02_2306.jpg', 2), ('/home/pi/Desktop/images/14042025/04/53/image_14042025_04_53_02_1827.jpg', 2), ('/home/pi/Desktop/images/14042025/04/51/image_14042025_04_51_01_9904.jpg', 2), ('/home/pi/Desktop/images/14042025/04/50/image_14042025_04_50_01_4077.jpg', 2), ('/home/pi/Desktop/images/14042025/04/48/image_14042025_04_48_01_5639.jpg', 2), ('/home/pi/Desktop/images/14042025/04/46/image_14042025_04_46_01_3516.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/54/image_14042025_04_54_02_2306.jpg', '/home/pi/Desktop/images/14042025/04/53/image_14042025_04_53_02_1827.jpg', '/home/pi/Desktop/images/14042025/04/51/image_14042025_04_51_01_9904.jpg', '/home/pi/Desktop/images/14042025/04/50/image_14042025_04_50_01_4077.jpg', '/home/pi/Desktop/images/14042025/04/48/image_14042025_04_48_01_5639.jpg', '/home/pi/Desktop/images/14042025/04/46/image_14042025_04_46_01_3516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/54/image_14042025_04_54_02_2306.jpg
/home/pi/Desktop/images/14042025/04/53/image_14042025_04_53_02_1827.jpg
/home/pi/Desktop/images/14042025/04/51/image_14042025_04_51_01_9904.jpg
/home/pi/Desktop/images/14042025/04/50/image_14042025_04_50_01_4077.jpg
/home/pi/Desktop/images/14042025/04/48/image_14042025_04_48_01_5639.jpg
/home/pi/Desktop/images/14042025/04/46/image_14042025_04_46_01_3516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 161.78737688064575 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cko0kn</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cko0kn</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:59:03.813738
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg', 2), ('/home/pi/Desktop/images/14042025/04/56/image_14042025_04_56_02_0903.jpg', 2), ('/home/pi/Desktop/images/14042025/04/55/image_14042025_04_55_01_7812.jpg', 2), ('/home/pi/Desktop/images/14042025/04/54/image_14042025_04_54_02_2306.jpg', 2), ('/home/pi/Desktop/images/14042025/04/53/image_14042025_04_53_02_1827.jpg', 2), ('/home/pi/Desktop/images/14042025/04/51/image_14042025_04_51_01_9904.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg', '/home/pi/Desktop/images/14042025/04/56/image_14042025_04_56_02_0903.jpg', '/home/pi/Desktop/images/14042025/04/55/image_14042025_04_55_01_7812.jpg', '/home/pi/Desktop/images/14042025/04/54/image_14042025_04_54_02_2306.jpg', '/home/pi/Desktop/images/14042025/04/53/image_14042025_04_53_02_1827.jpg', '/home/pi/Desktop/images/14042025/04/51/image_14042025_04_51_01_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg
/home/pi/Desktop/images/14042025/04/56/image_14042025_04_56_02_0903.jpg
/home/pi/Desktop/images/14042025/04/55/image_14042025_04_55_01_7812.jpg
/home/pi/Desktop/images/14042025/04/54/image_14042025_04_54_02_2306.jpg
/home/pi/Desktop/images/14042025/04/53/image_14042025_04_53_02_1827.jpg
/home/pi/Desktop/images/14042025/04/51/image_14042025_04_51_01_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 245.07019639015198 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895clgb28</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895clgb28</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:04:03.193886
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/02/image_14042025_05_02_01_6158.jpg', 2), ('/home/pi/Desktop/images/14042025/05/01/image_14042025_05_01_02_1246.jpg', 2), ('/home/pi/Desktop/images/14042025/05/00/image_14042025_05_00_02_1483.jpg', 2), ('/home/pi/Desktop/images/14042025/04/59/image_14042025_04_59_01_3228.jpg', 2), ('/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg', 2), ('/home/pi/Desktop/images/14042025/04/56/image_14042025_04_56_02_0903.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/02/image_14042025_05_02_01_6158.jpg', '/home/pi/Desktop/images/14042025/05/01/image_14042025_05_01_02_1246.jpg', '/home/pi/Desktop/images/14042025/05/00/image_14042025_05_00_02_1483.jpg', '/home/pi/Desktop/images/14042025/04/59/image_14042025_04_59_01_3228.jpg', '/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg', '/home/pi/Desktop/images/14042025/04/56/image_14042025_04_56_02_0903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/02/image_14042025_05_02_01_6158.jpg
/home/pi/Desktop/images/14042025/05/01/image_14042025_05_01_02_1246.jpg
/home/pi/Desktop/images/14042025/05/00/image_14042025_05_00_02_1483.jpg
/home/pi/Desktop/images/14042025/04/59/image_14042025_04_59_01_3228.jpg
/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg
/home/pi/Desktop/images/14042025/04/56/image_14042025_04_56_02_0903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 222.24725437164307 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cm640l</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cm640l</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:08:02.626531
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/03/image_14042025_05_03_02_0232.jpg', 2), ('/home/pi/Desktop/images/14042025/05/02/image_14042025_05_02_01_6158.jpg', 2), ('/home/pi/Desktop/images/14042025/05/01/image_14042025_05_01_02_1246.jpg', 2), ('/home/pi/Desktop/images/14042025/05/00/image_14042025_05_00_02_1483.jpg', 2), ('/home/pi/Desktop/images/14042025/04/59/image_14042025_04_59_01_3228.jpg', 2), ('/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/03/image_14042025_05_03_02_0232.jpg', '/home/pi/Desktop/images/14042025/05/02/image_14042025_05_02_01_6158.jpg', '/home/pi/Desktop/images/14042025/05/01/image_14042025_05_01_02_1246.jpg', '/home/pi/Desktop/images/14042025/05/00/image_14042025_05_00_02_1483.jpg', '/home/pi/Desktop/images/14042025/04/59/image_14042025_04_59_01_3228.jpg', '/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/03/image_14042025_05_03_02_0232.jpg
/home/pi/Desktop/images/14042025/05/02/image_14042025_05_02_01_6158.jpg
/home/pi/Desktop/images/14042025/05/01/image_14042025_05_01_02_1246.jpg
/home/pi/Desktop/images/14042025/05/00/image_14042025_05_00_02_1483.jpg
/home/pi/Desktop/images/14042025/04/59/image_14042025_04_59_01_3228.jpg
/home/pi/Desktop/images/14042025/04/58/image_14042025_04_58_01_9075.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 253.99812841415405 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>895cmlfa4</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>895cmlfa4</strong>.
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:13:03.655799
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/12/image_14042025_05_12_02_0129.jpg', 2), ('/home/pi/Desktop/images/14042025/05/11/image_14042025_05_11_01_9901.jpg', 2), ('/home/pi/Desktop/images/14042025/05/10/image_14042025_05_10_01_5077.jpg', 2), ('/home/pi/Desktop/images/14042025/05/09/image_14042025_05_09_01_2078.jpg', 2), ('/home/pi/Desktop/images/14042025/05/08/image_14042025_05_08_01_7753.jpg', 2), ('/home/pi/Desktop/images/14042025/05/03/image_14042025_05_03_02_0232.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/12/image_14042025_05_12_02_0129.jpg', '/home/pi/Desktop/images/14042025/05/11/image_14042025_05_11_01_9901.jpg', '/home/pi/Desktop/images/14042025/05/10/image_14042025_05_10_01_5077.jpg', '/home/pi/Desktop/images/14042025/05/09/image_14042025_05_09_01_2078.jpg', '/home/pi/Desktop/images/14042025/05/08/image_14042025_05_08_01_7753.jpg', '/home/pi/Desktop/images/14042025/05/03/image_14042025_05_03_02_0232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/12/image_14042025_05_12_02_0129.jpg
/home/pi/Desktop/images/14042025/05/11/image_14042025_05_11_01_9901.jpg
/home/pi/Desktop/images/14042025/05/10/image_14042025_05_10_01_5077.jpg
/home/pi/Desktop/images/14042025/05/09/image_14042025_05_09_01_2078.jpg
/home/pi/Desktop/images/14042025/05/08/image_14042025_05_08_01_7753.jpg
/home/pi/Desktop/images/14042025/05/03/image_14042025_05_03_02_0232.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.81770491600037 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:19:03.873605
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/18/image_14042025_05_18_01_3313.jpg', 2), ('/home/pi/Desktop/images/14042025/05/17/image_14042025_05_17_02_0984.jpg', 2), ('/home/pi/Desktop/images/14042025/05/16/image_14042025_05_16_01_6569.jpg', 2), ('/home/pi/Desktop/images/14042025/05/15/image_14042025_05_15_01_5559.jpg', 2), ('/home/pi/Desktop/images/14042025/05/14/image_14042025_05_14_01_9562.jpg', 2), ('/home/pi/Desktop/images/14042025/05/13/image_14042025_05_13_01_6565.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/18/image_14042025_05_18_01_3313.jpg', '/home/pi/Desktop/images/14042025/05/17/image_14042025_05_17_02_0984.jpg', '/home/pi/Desktop/images/14042025/05/16/image_14042025_05_16_01_6569.jpg', '/home/pi/Desktop/images/14042025/05/15/image_14042025_05_15_01_5559.jpg', '/home/pi/Desktop/images/14042025/05/14/image_14042025_05_14_01_9562.jpg', '/home/pi/Desktop/images/14042025/05/13/image_14042025_05_13_01_6565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/18/image_14042025_05_18_01_3313.jpg
/home/pi/Desktop/images/14042025/05/17/image_14042025_05_17_02_0984.jpg
/home/pi/Desktop/images/14042025/05/16/image_14042025_05_16_01_6569.jpg
/home/pi/Desktop/images/14042025/05/15/image_14042025_05_15_01_5559.jpg
/home/pi/Desktop/images/14042025/05/14/image_14042025_05_14_01_9562.jpg
/home/pi/Desktop/images/14042025/05/13/image_14042025_05_13_01_6565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.9306671619415 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:25:05.758392
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/24/image_14042025_05_24_02_2074.jpg', 2), ('/home/pi/Desktop/images/14042025/05/21/image_14042025_05_21_02_0863.jpg', 2), ('/home/pi/Desktop/images/14042025/05/20/image_14042025_05_20_02_0572.jpg', 2), ('/home/pi/Desktop/images/14042025/05/19/image_14042025_05_19_01_7930.jpg', 2), ('/home/pi/Desktop/images/14042025/05/18/image_14042025_05_18_01_3313.jpg', 2), ('/home/pi/Desktop/images/14042025/05/17/image_14042025_05_17_02_0984.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/24/image_14042025_05_24_02_2074.jpg', '/home/pi/Desktop/images/14042025/05/21/image_14042025_05_21_02_0863.jpg', '/home/pi/Desktop/images/14042025/05/20/image_14042025_05_20_02_0572.jpg', '/home/pi/Desktop/images/14042025/05/19/image_14042025_05_19_01_7930.jpg', '/home/pi/Desktop/images/14042025/05/18/image_14042025_05_18_01_3313.jpg', '/home/pi/Desktop/images/14042025/05/17/image_14042025_05_17_02_0984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/24/image_14042025_05_24_02_2074.jpg
/home/pi/Desktop/images/14042025/05/21/image_14042025_05_21_02_0863.jpg
/home/pi/Desktop/images/14042025/05/20/image_14042025_05_20_02_0572.jpg
/home/pi/Desktop/images/14042025/05/19/image_14042025_05_19_01_7930.jpg
/home/pi/Desktop/images/14042025/05/18/image_14042025_05_18_01_3313.jpg
/home/pi/Desktop/images/14042025/05/17/image_14042025_05_17_02_0984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 306.1143934726715 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:31:03.553013
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/30/image_14042025_05_30_01_9272.jpg', 2), ('/home/pi/Desktop/images/14042025/05/28/image_14042025_05_28_02_2009.jpg', 2), ('/home/pi/Desktop/images/14042025/05/27/image_14042025_05_27_01_7689.jpg', 2), ('/home/pi/Desktop/images/14042025/05/26/image_14042025_05_26_01_3017.jpg', 2), ('/home/pi/Desktop/images/14042025/05/25/image_14042025_05_25_01_9068.jpg', 2), ('/home/pi/Desktop/images/14042025/05/24/image_14042025_05_24_02_2074.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/30/image_14042025_05_30_01_9272.jpg', '/home/pi/Desktop/images/14042025/05/28/image_14042025_05_28_02_2009.jpg', '/home/pi/Desktop/images/14042025/05/27/image_14042025_05_27_01_7689.jpg', '/home/pi/Desktop/images/14042025/05/26/image_14042025_05_26_01_3017.jpg', '/home/pi/Desktop/images/14042025/05/25/image_14042025_05_25_01_9068.jpg', '/home/pi/Desktop/images/14042025/05/24/image_14042025_05_24_02_2074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/30/image_14042025_05_30_01_9272.jpg
/home/pi/Desktop/images/14042025/05/28/image_14042025_05_28_02_2009.jpg
/home/pi/Desktop/images/14042025/05/27/image_14042025_05_27_01_7689.jpg
/home/pi/Desktop/images/14042025/05/26/image_14042025_05_26_01_3017.jpg
/home/pi/Desktop/images/14042025/05/25/image_14042025_05_25_01_9068.jpg
/home/pi/Desktop/images/14042025/05/24/image_14042025_05_24_02_2074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.60913729667664 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:37:03.194664
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/36/image_14042025_05_36_01_8644.jpg', 2), ('/home/pi/Desktop/images/14042025/05/35/image_14042025_05_35_01_6707.jpg', 2), ('/home/pi/Desktop/images/14042025/05/34/image_14042025_05_34_02_1219.jpg', 2), ('/home/pi/Desktop/images/14042025/05/33/image_14042025_05_33_02_0789.jpg', 2), ('/home/pi/Desktop/images/14042025/05/32/image_14042025_05_32_01_5914.jpg', 2), ('/home/pi/Desktop/images/14042025/05/31/image_14042025_05_31_01_5351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/36/image_14042025_05_36_01_8644.jpg', '/home/pi/Desktop/images/14042025/05/35/image_14042025_05_35_01_6707.jpg', '/home/pi/Desktop/images/14042025/05/34/image_14042025_05_34_02_1219.jpg', '/home/pi/Desktop/images/14042025/05/33/image_14042025_05_33_02_0789.jpg', '/home/pi/Desktop/images/14042025/05/32/image_14042025_05_32_01_5914.jpg', '/home/pi/Desktop/images/14042025/05/31/image_14042025_05_31_01_5351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/36/image_14042025_05_36_01_8644.jpg
/home/pi/Desktop/images/14042025/05/35/image_14042025_05_35_01_6707.jpg
/home/pi/Desktop/images/14042025/05/34/image_14042025_05_34_02_1219.jpg
/home/pi/Desktop/images/14042025/05/33/image_14042025_05_33_02_0789.jpg
/home/pi/Desktop/images/14042025/05/32/image_14042025_05_32_01_5914.jpg
/home/pi/Desktop/images/14042025/05/31/image_14042025_05_31_01_5351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.0496873855591 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:43:03.560578
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/42/image_14042025_05_42_01_9614.jpg', 2), ('/home/pi/Desktop/images/14042025/05/41/image_14042025_05_41_01_3339.jpg', 2), ('/home/pi/Desktop/images/14042025/05/38/image_14042025_05_38_01_4875.jpg', 2), ('/home/pi/Desktop/images/14042025/05/37/image_14042025_05_37_01_5073.jpg', 2), ('/home/pi/Desktop/images/14042025/05/36/image_14042025_05_36_01_8644.jpg', 2), ('/home/pi/Desktop/images/14042025/05/35/image_14042025_05_35_01_6707.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/42/image_14042025_05_42_01_9614.jpg', '/home/pi/Desktop/images/14042025/05/41/image_14042025_05_41_01_3339.jpg', '/home/pi/Desktop/images/14042025/05/38/image_14042025_05_38_01_4875.jpg', '/home/pi/Desktop/images/14042025/05/37/image_14042025_05_37_01_5073.jpg', '/home/pi/Desktop/images/14042025/05/36/image_14042025_05_36_01_8644.jpg', '/home/pi/Desktop/images/14042025/05/35/image_14042025_05_35_01_6707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/42/image_14042025_05_42_01_9614.jpg
/home/pi/Desktop/images/14042025/05/41/image_14042025_05_41_01_3339.jpg
/home/pi/Desktop/images/14042025/05/38/image_14042025_05_38_01_4875.jpg
/home/pi/Desktop/images/14042025/05/37/image_14042025_05_37_01_5073.jpg
/home/pi/Desktop/images/14042025/05/36/image_14042025_05_36_01_8644.jpg
/home/pi/Desktop/images/14042025/05/35/image_14042025_05_35_01_6707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.22187995910645 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:49:03.575743
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_02_0304.jpg', 2), ('/home/pi/Desktop/images/14042025/05/46/image_14042025_05_46_01_6376.jpg', 2), ('/home/pi/Desktop/images/14042025/05/45/image_14042025_05_45_02_0573.jpg', 2), ('/home/pi/Desktop/images/14042025/05/44/image_14042025_05_44_01_7980.jpg', 2), ('/home/pi/Desktop/images/14042025/05/43/image_14042025_05_43_02_1457.jpg', 2), ('/home/pi/Desktop/images/14042025/05/42/image_14042025_05_42_01_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_02_0304.jpg', '/home/pi/Desktop/images/14042025/05/46/image_14042025_05_46_01_6376.jpg', '/home/pi/Desktop/images/14042025/05/45/image_14042025_05_45_02_0573.jpg', '/home/pi/Desktop/images/14042025/05/44/image_14042025_05_44_01_7980.jpg', '/home/pi/Desktop/images/14042025/05/43/image_14042025_05_43_02_1457.jpg', '/home/pi/Desktop/images/14042025/05/42/image_14042025_05_42_01_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_02_0304.jpg
/home/pi/Desktop/images/14042025/05/46/image_14042025_05_46_01_6376.jpg
/home/pi/Desktop/images/14042025/05/45/image_14042025_05_45_02_0573.jpg
/home/pi/Desktop/images/14042025/05/44/image_14042025_05_44_01_7980.jpg
/home/pi/Desktop/images/14042025/05/43/image_14042025_05_43_02_1457.jpg
/home/pi/Desktop/images/14042025/05/42/image_14042025_05_42_01_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.19974160194397 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:55:03.688224
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg', 2), ('/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg', 2), ('/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg', 2), ('/home/pi/Desktop/images/14042025/05/50/image_14042025_05_50_01_8218.jpg', 2), ('/home/pi/Desktop/images/14042025/05/49/image_14042025_05_49_01_7565.jpg', 2), ('/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_02_0304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg', '/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg', '/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg', '/home/pi/Desktop/images/14042025/05/50/image_14042025_05_50_01_8218.jpg', '/home/pi/Desktop/images/14042025/05/49/image_14042025_05_49_01_7565.jpg', '/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_02_0304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg
/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg
/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg
/home/pi/Desktop/images/14042025/05/50/image_14042025_05_50_01_8218.jpg
/home/pi/Desktop/images/14042025/05/49/image_14042025_05_49_01_7565.jpg
/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_02_0304.jpg
 val : 1 : upload photos already in processing! 
 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-14 05:59:03.210458
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/05/55/image_14042025_05_55_01_5765.jpg', 2), ('/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg', 2), ('/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg', 2), ('/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg', 2), ('/home/pi/Desktop/images/14042025/05/50/image_14042025_05_50_01_8218.jpg', 2), ('/home/pi/Desktop/images/14042025/05/49/image_14042025_05_49_01_7565.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/55/image_14042025_05_55_01_5765.jpg', '/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg', '/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg', '/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg', '/home/pi/Desktop/images/14042025/05/50/image_14042025_05_50_01_8218.jpg', '/home/pi/Desktop/images/14042025/05/49/image_14042025_05_49_01_7565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/05/55/image_14042025_05_55_01_5765.jpg
/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg
/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg
/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg
/home/pi/Desktop/images/14042025/05/50/image_14042025_05_50_01_8218.jpg
/home/pi/Desktop/images/14042025/05/49/image_14042025_05_49_01_7565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.422390460968 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:05:03.339455
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/04/image_14042025_06_04_01_6766.jpg', 2), ('/home/pi/Desktop/images/14042025/05/56/image_14042025_05_56_01_8099.jpg', 2), ('/home/pi/Desktop/images/14042025/05/55/image_14042025_05_55_01_5765.jpg', 2), ('/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg', 2), ('/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg', 2), ('/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/04/image_14042025_06_04_01_6766.jpg', '/home/pi/Desktop/images/14042025/05/56/image_14042025_05_56_01_8099.jpg', '/home/pi/Desktop/images/14042025/05/55/image_14042025_05_55_01_5765.jpg', '/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg', '/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg', '/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/04/image_14042025_06_04_01_6766.jpg
/home/pi/Desktop/images/14042025/05/56/image_14042025_05_56_01_8099.jpg
/home/pi/Desktop/images/14042025/05/55/image_14042025_05_55_01_5765.jpg
/home/pi/Desktop/images/14042025/05/54/image_14042025_05_54_02_0194.jpg
/home/pi/Desktop/images/14042025/05/52/image_14042025_05_52_01_4639.jpg
/home/pi/Desktop/images/14042025/05/51/image_14042025_05_51_01_2273.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 306.3512258529663 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:11:03.580438
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/10/image_14042025_06_10_01_5019.jpg', 2), ('/home/pi/Desktop/images/14042025/06/08/image_14042025_06_08_01_5484.jpg', 2), ('/home/pi/Desktop/images/14042025/06/07/image_14042025_06_07_01_4334.jpg', 2), ('/home/pi/Desktop/images/14042025/06/06/image_14042025_06_06_01_6508.jpg', 2), ('/home/pi/Desktop/images/14042025/06/05/image_14042025_06_05_01_3435.jpg', 2), ('/home/pi/Desktop/images/14042025/06/04/image_14042025_06_04_01_6766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/10/image_14042025_06_10_01_5019.jpg', '/home/pi/Desktop/images/14042025/06/08/image_14042025_06_08_01_5484.jpg', '/home/pi/Desktop/images/14042025/06/07/image_14042025_06_07_01_4334.jpg', '/home/pi/Desktop/images/14042025/06/06/image_14042025_06_06_01_6508.jpg', '/home/pi/Desktop/images/14042025/06/05/image_14042025_06_05_01_3435.jpg', '/home/pi/Desktop/images/14042025/06/04/image_14042025_06_04_01_6766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/10/image_14042025_06_10_01_5019.jpg
/home/pi/Desktop/images/14042025/06/08/image_14042025_06_08_01_5484.jpg
/home/pi/Desktop/images/14042025/06/07/image_14042025_06_07_01_4334.jpg
/home/pi/Desktop/images/14042025/06/06/image_14042025_06_06_01_6508.jpg
/home/pi/Desktop/images/14042025/06/05/image_14042025_06_05_01_3435.jpg
/home/pi/Desktop/images/14042025/06/04/image_14042025_06_04_01_6766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.2179470062256 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:17:03.712138
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg', 2), ('/home/pi/Desktop/images/14042025/06/14/image_14042025_06_14_01_8981.jpg', 2), ('/home/pi/Desktop/images/14042025/06/13/image_14042025_06_13_01_6571.jpg', 2), ('/home/pi/Desktop/images/14042025/06/12/image_14042025_06_12_01_6700.jpg', 2), ('/home/pi/Desktop/images/14042025/06/11/image_14042025_06_11_01_9929.jpg', 2), ('/home/pi/Desktop/images/14042025/06/10/image_14042025_06_10_01_5019.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg', '/home/pi/Desktop/images/14042025/06/14/image_14042025_06_14_01_8981.jpg', '/home/pi/Desktop/images/14042025/06/13/image_14042025_06_13_01_6571.jpg', '/home/pi/Desktop/images/14042025/06/12/image_14042025_06_12_01_6700.jpg', '/home/pi/Desktop/images/14042025/06/11/image_14042025_06_11_01_9929.jpg', '/home/pi/Desktop/images/14042025/06/10/image_14042025_06_10_01_5019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg
/home/pi/Desktop/images/14042025/06/14/image_14042025_06_14_01_8981.jpg
/home/pi/Desktop/images/14042025/06/13/image_14042025_06_13_01_6571.jpg
/home/pi/Desktop/images/14042025/06/12/image_14042025_06_12_01_6700.jpg
/home/pi/Desktop/images/14042025/06/11/image_14042025_06_11_01_9929.jpg
/home/pi/Desktop/images/14042025/06/10/image_14042025_06_10_01_5019.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.083961725235 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:23:03.730968
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/23/image_14042025_06_23_01_6015.jpg', 2), ('/home/pi/Desktop/images/14042025/06/16/image_14042025_06_16_02_0204.jpg', 2), ('/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg', 2), ('/home/pi/Desktop/images/14042025/06/14/image_14042025_06_14_01_8981.jpg', 2), ('/home/pi/Desktop/images/14042025/06/13/image_14042025_06_13_01_6571.jpg', 2), ('/home/pi/Desktop/images/14042025/06/12/image_14042025_06_12_01_6700.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/23/image_14042025_06_23_01_6015.jpg', '/home/pi/Desktop/images/14042025/06/16/image_14042025_06_16_02_0204.jpg', '/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg', '/home/pi/Desktop/images/14042025/06/14/image_14042025_06_14_01_8981.jpg', '/home/pi/Desktop/images/14042025/06/13/image_14042025_06_13_01_6571.jpg', '/home/pi/Desktop/images/14042025/06/12/image_14042025_06_12_01_6700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/23/image_14042025_06_23_01_6015.jpg
/home/pi/Desktop/images/14042025/06/16/image_14042025_06_16_02_0204.jpg
/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg
/home/pi/Desktop/images/14042025/06/14/image_14042025_06_14_01_8981.jpg
/home/pi/Desktop/images/14042025/06/13/image_14042025_06_13_01_6571.jpg
/home/pi/Desktop/images/14042025/06/12/image_14042025_06_12_01_6700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 306.8711383342743 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:29:03.222028
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/25/image_14042025_06_25_01_8778.jpg', 2), ('/home/pi/Desktop/images/14042025/06/24/image_14042025_06_24_02_0668.jpg', 2), ('/home/pi/Desktop/images/14042025/06/23/image_14042025_06_23_01_6015.jpg', 2), ('/home/pi/Desktop/images/14042025/06/22/image_14042025_06_22_01_4793.jpg', 2), ('/home/pi/Desktop/images/14042025/06/16/image_14042025_06_16_02_0204.jpg', 2), ('/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/25/image_14042025_06_25_01_8778.jpg', '/home/pi/Desktop/images/14042025/06/24/image_14042025_06_24_02_0668.jpg', '/home/pi/Desktop/images/14042025/06/23/image_14042025_06_23_01_6015.jpg', '/home/pi/Desktop/images/14042025/06/22/image_14042025_06_22_01_4793.jpg', '/home/pi/Desktop/images/14042025/06/16/image_14042025_06_16_02_0204.jpg', '/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/25/image_14042025_06_25_01_8778.jpg
/home/pi/Desktop/images/14042025/06/24/image_14042025_06_24_02_0668.jpg
/home/pi/Desktop/images/14042025/06/23/image_14042025_06_23_01_6015.jpg
/home/pi/Desktop/images/14042025/06/22/image_14042025_06_22_01_4793.jpg
/home/pi/Desktop/images/14042025/06/16/image_14042025_06_16_02_0204.jpg
/home/pi/Desktop/images/14042025/06/15/image_14042025_06_15_01_6808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 305.63884377479553 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:35:03.550685
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/34/image_14042025_06_34_01_4372.jpg', 2), ('/home/pi/Desktop/images/14042025/06/33/image_14042025_06_33_01_5166.jpg', 2), ('/home/pi/Desktop/images/14042025/06/32/image_14042025_06_32_01_4403.jpg', 2), ('/home/pi/Desktop/images/14042025/06/31/image_14042025_06_31_01_8801.jpg', 2), ('/home/pi/Desktop/images/14042025/06/26/image_14042025_06_26_01_6914.jpg', 2), ('/home/pi/Desktop/images/14042025/06/25/image_14042025_06_25_01_8778.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/34/image_14042025_06_34_01_4372.jpg', '/home/pi/Desktop/images/14042025/06/33/image_14042025_06_33_01_5166.jpg', '/home/pi/Desktop/images/14042025/06/32/image_14042025_06_32_01_4403.jpg', '/home/pi/Desktop/images/14042025/06/31/image_14042025_06_31_01_8801.jpg', '/home/pi/Desktop/images/14042025/06/26/image_14042025_06_26_01_6914.jpg', '/home/pi/Desktop/images/14042025/06/25/image_14042025_06_25_01_8778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/34/image_14042025_06_34_01_4372.jpg
/home/pi/Desktop/images/14042025/06/33/image_14042025_06_33_01_5166.jpg
/home/pi/Desktop/images/14042025/06/32/image_14042025_06_32_01_4403.jpg
/home/pi/Desktop/images/14042025/06/31/image_14042025_06_31_01_8801.jpg
/home/pi/Desktop/images/14042025/06/26/image_14042025_06_26_01_6914.jpg
/home/pi/Desktop/images/14042025/06/25/image_14042025_06_25_01_8778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 307.25133085250854 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:41:03.771520
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg', 2), ('/home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_01_3700.jpg', 2), ('/home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_02_1571.jpg', 2), ('/home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_01_8842.jpg', 2), ('/home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_01_7520.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg', '/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg', '/home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_01_3700.jpg', '/home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_02_1571.jpg', '/home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_01_8842.jpg', '/home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_01_7520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg
/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg
/home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_01_3700.jpg
/home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_02_1571.jpg
/home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_01_8842.jpg
/home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_01_7520.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8815619945526123 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-14 06:42:02.638039
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg', 2), ('/home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_01_3700.jpg', 2), ('/home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_02_1571.jpg', 2), ('/home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_01_8842.jpg', 2), ('/home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_01_7520.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg', '/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg', '/home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_01_3700.jpg', '/home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_02_1571.jpg', '/home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_01_8842.jpg', '/home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_01_7520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg
/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg
/home/pi/Desktop/images/14042025/06/38/image_14042025_06_38_01_3700.jpg
/home/pi/Desktop/images/14042025/06/37/image_14042025_06_37_02_1571.jpg
/home/pi/Desktop/images/14042025/06/36/image_14042025_06_36_01_8842.jpg
/home/pi/Desktop/images/14042025/06/35/image_14042025_06_35_01_7520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.0441732406616 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:48:03.314699
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg', 2), ('/home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_01_4721.jpg', 2), ('/home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_01_2778.jpg', 2), ('/home/pi/Desktop/images/14042025/06/41/image_14042025_06_41_01_9621.jpg', 2), ('/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg', 2), ('/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg', '/home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_01_4721.jpg', '/home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_01_2778.jpg', '/home/pi/Desktop/images/14042025/06/41/image_14042025_06_41_01_9621.jpg', '/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg', '/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg
/home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_01_4721.jpg
/home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_01_2778.jpg
/home/pi/Desktop/images/14042025/06/41/image_14042025_06_41_01_9621.jpg
/home/pi/Desktop/images/14042025/06/40/image_14042025_06_40_01_6075.jpg
/home/pi/Desktop/images/14042025/06/39/image_14042025_06_39_01_8856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.8170075416565 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:54:02.955143
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_01_6603.jpg', 2), ('/home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_01_9107.jpg', 2), ('/home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_01_6057.jpg', 2), ('/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg', 2), ('/home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_01_4721.jpg', 2), ('/home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_01_2778.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_01_6603.jpg', '/home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_01_9107.jpg', '/home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_01_6057.jpg', '/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg', '/home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_01_4721.jpg', '/home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_01_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_01_6603.jpg
/home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_01_9107.jpg
/home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_01_6057.jpg
/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg
/home/pi/Desktop/images/14042025/06/45/image_14042025_06_45_01_4721.jpg
/home/pi/Desktop/images/14042025/06/43/image_14042025_06_43_01_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:59:03.148072
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_01_5933.jpg', 2), ('/home/pi/Desktop/images/14042025/06/54/image_14042025_06_54_01_8422.jpg', 2), ('/home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_01_6603.jpg', 2), ('/home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_01_9107.jpg', 2), ('/home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_01_6057.jpg', 2), ('/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_01_5933.jpg', '/home/pi/Desktop/images/14042025/06/54/image_14042025_06_54_01_8422.jpg', '/home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_01_6603.jpg', '/home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_01_9107.jpg', '/home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_01_6057.jpg', '/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_01_5933.jpg
/home/pi/Desktop/images/14042025/06/54/image_14042025_06_54_01_8422.jpg
/home/pi/Desktop/images/14042025/06/53/image_14042025_06_53_01_6603.jpg
/home/pi/Desktop/images/14042025/06/52/image_14042025_06_52_01_9107.jpg
/home/pi/Desktop/images/14042025/06/47/image_14042025_06_47_01_6057.jpg
/home/pi/Desktop/images/14042025/06/46/image_14042025_06_46_01_7521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.5387966632843 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:05:03.204648
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_01_7696.jpg', 2), ('/home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_01_5266.jpg', 2), ('/home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_02_1230.jpg', 2), ('/home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_01_3465.jpg', 2), ('/home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_02_0668.jpg', 2), ('/home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_01_5933.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_01_7696.jpg', '/home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_01_5266.jpg', '/home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_02_1230.jpg', '/home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_01_3465.jpg', '/home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_02_0668.jpg', '/home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_01_5933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_01_7696.jpg
/home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_01_5266.jpg
/home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_02_1230.jpg
/home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_01_3465.jpg
/home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_02_0668.jpg
/home/pi/Desktop/images/14042025/06/58/image_14042025_06_58_01_5933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.9718825817108 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:11:03.544578
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/05/image_14042025_07_05_02_0159.jpg', 2), ('/home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_01_7696.jpg', 2), ('/home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_01_5266.jpg', 2), ('/home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_02_1230.jpg', 2), ('/home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_01_3465.jpg', 2), ('/home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_02_0668.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/05/image_14042025_07_05_02_0159.jpg', '/home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_01_7696.jpg', '/home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_01_5266.jpg', '/home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_02_1230.jpg', '/home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_01_3465.jpg', '/home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_02_0668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/05/image_14042025_07_05_02_0159.jpg
/home/pi/Desktop/images/14042025/07/04/image_14042025_07_04_01_7696.jpg
/home/pi/Desktop/images/14042025/07/03/image_14042025_07_03_01_5266.jpg
/home/pi/Desktop/images/14042025/07/02/image_14042025_07_02_02_1230.jpg
/home/pi/Desktop/images/14042025/07/00/image_14042025_07_00_01_3465.jpg
/home/pi/Desktop/images/14042025/06/59/image_14042025_06_59_02_0668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.96937108039856 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:17:03.389268
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_01_6418.jpg', 2), ('/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_01_8886.jpg', 2), ('/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_01_5147.jpg', 2), ('/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_01_2987.jpg', 2), ('/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_01_7426.jpg', 2), ('/home/pi/Desktop/images/14042025/07/06/image_14042025_07_06_01_4878.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_01_6418.jpg', '/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_01_8886.jpg', '/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_01_5147.jpg', '/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_01_2987.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_01_7426.jpg', '/home/pi/Desktop/images/14042025/07/06/image_14042025_07_06_01_4878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_01_6418.jpg
/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_01_8886.jpg
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_01_5147.jpg
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_01_2987.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_01_7426.jpg
/home/pi/Desktop/images/14042025/07/06/image_14042025_07_06_01_4878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.78823137283325 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:23:03.974892
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', 2), ('/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg', 2), ('/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg', 2), ('/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_01_6522.jpg', 2), ('/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_02_1070.jpg', 2), ('/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_01_6418.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg', '/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_01_6522.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_02_1070.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_01_6418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_01_6522.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_02_1070.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_01_6418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.8205006122589 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:29:03.216836
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg', 2), ('/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', 2), ('/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg', 2), ('/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg', 2), ('/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_01_6522.jpg', 2), ('/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_02_1070.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg', '/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_01_6522.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_02_1070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_01_6522.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_02_1070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 305.21788120269775 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:35:03.284220
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_02_0026.jpg', 2), ('/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_02_0758.jpg', 2), ('/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg', 2), ('/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', 2), ('/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg', 2), ('/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_02_0026.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_02_0758.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_02_0026.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_02_0758.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_01_4733.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_02_1091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.850554227829 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:41:03.977656
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_01_4066.jpg', 2), ('/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_01_5905.jpg', 2), ('/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_02_0026.jpg', 2), ('/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_02_0758.jpg', 2), ('/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg', 2), ('/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_01_4066.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_01_5905.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_02_0026.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_02_0758.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_01_4066.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_01_5905.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_02_0026.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_02_0758.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_01_8228.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_5273.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.9605145454407 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:47:03.294644
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_01_6805.jpg', 2), ('/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_01_6725.jpg', 2), ('/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_02_0434.jpg', 2), ('/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_01_7347.jpg', 2), ('/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_02_1305.jpg', 2), ('/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_01_9044.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_01_6805.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_01_6725.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_02_0434.jpg', '/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_01_7347.jpg', '/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_02_1305.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_01_9044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_01_6805.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_01_6725.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_02_0434.jpg
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_01_7347.jpg
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_02_1305.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_01_9044.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.98333954811096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:53:03.435213
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_01_3286.jpg', 2), ('/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_02_1893.jpg', 2), ('/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_01_4484.jpg', 2), ('/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_02_1615.jpg', 2), ('/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_01_6805.jpg', 2), ('/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_01_6725.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_01_3286.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_02_1893.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_01_4484.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_02_1615.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_01_6805.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_01_6725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_01_3286.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_02_1893.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_01_4484.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_02_1615.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_01_6805.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_01_6725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:59:03.019917
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_02_2765.jpg', 2), ('/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_01_7375.jpg', 2), ('/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_02_0277.jpg', 2), ('/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_01_3286.jpg', 2), ('/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_02_1893.jpg', 2), ('/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_01_4484.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_02_2765.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_01_7375.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_02_0277.jpg', '/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_01_3286.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_02_1893.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_01_4484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_02_2765.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_01_7375.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_02_0277.jpg
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_01_3286.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_02_1893.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_01_4484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 305.1461024284363 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:05:03.899951
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_01_9625.jpg', 2), ('/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_01_3410.jpg', 2), ('/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_02_0917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_01_2975.jpg', 2), ('/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_01_4208.jpg', 2), ('/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_02_2765.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_01_9625.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_01_3410.jpg', '/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_02_0917.jpg', '/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_01_2975.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_01_4208.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_02_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_01_9625.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_01_3410.jpg
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_02_0917.jpg
/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_01_2975.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_01_4208.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_02_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 322.6051812171936 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:11:03.686374
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_02_0132.jpg', 2), ('/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_02_0894.jpg', 2), ('/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_01_5498.jpg', 2), ('/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_01_6092.jpg', 2), ('/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_01_9625.jpg', 2), ('/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_01_3410.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_02_0132.jpg', '/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_02_0894.jpg', '/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_01_5498.jpg', '/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_01_6092.jpg', '/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_01_9625.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_01_3410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_02_0132.jpg
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_02_0894.jpg
/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_01_5498.jpg
/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_01_6092.jpg
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_01_9625.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_01_3410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 316.78566789627075 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:17:03.194981
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_01_9866.jpg', 2), ('/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_01_6481.jpg', 2), ('/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_01_9185.jpg', 2), ('/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_01_6869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_02_0132.jpg', 2), ('/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_02_0894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_01_9866.jpg', '/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_01_6481.jpg', '/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_01_9185.jpg', '/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_01_6869.jpg', '/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_02_0132.jpg', '/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_02_0894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_01_9866.jpg
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_01_6481.jpg
/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_01_9185.jpg
/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_01_6869.jpg
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_02_0132.jpg
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_02_0894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.5455799102783 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:23:03.493182
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg', 2), ('/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_01_6632.jpg', 2), ('/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_02_1824.jpg', 2), ('/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_02_0911.jpg', 2), ('/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_01_5276.jpg', 2), ('/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_01_9866.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_01_6632.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_02_1824.jpg', '/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_02_0911.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_01_5276.jpg', '/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_01_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_01_6632.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_02_1824.jpg
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_02_0911.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_01_5276.jpg
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_01_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 348.9161186218262 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:29:03.159025
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', 2), ('/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', 2), ('/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', 2), ('/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', 2), ('/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg', 2), ('/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 106.24213790893555 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:31:03.801983
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', 2), ('/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', 2), ('/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', 2), ('/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', 2), ('/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg', 2), ('/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_01_7768.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.1206398010254 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 0x75438750>: 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-14 08:34:03.420577
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg', 2), ('/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', 2), ('/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', 2), ('/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', 2), ('/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', 2), ('/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_01_3873.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: 139.57795810699463 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 0x754b5670>: 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-14 08:37:03.888692
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg', 2), ('/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg', 2), ('/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', 2), ('/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', 2), ('/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', 2), ('/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_01_3706.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_01_6577.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.42996740341187 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 0x755016f0>: 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-14 08:40:03.052158
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', 2), ('/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg', 2), ('/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg', 2), ('/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg', 2), ('/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', 2), ('/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_02_2761.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_01_7351.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_01_4295.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.46549367904663 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 0x75522630>: 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-14 08:43:03.700848
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2), ('/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', 2), ('/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg', 2), ('/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', 2), ('/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg', 2), ('/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_6885.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: 142.01555156707764 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 0x7543d990>: 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-14 08:46:03.165623
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2), ('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2), ('/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', 2), ('/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg', 2), ('/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', 2), ('/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_02_1011.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: 141.74369311332703 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 0x755139b0>: 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-14 08:49:03.472214
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2), ('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2), ('/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', 2), ('/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg', 2), ('/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_01_6864.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_01_5761.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.76783275604248 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 0x754e4710>: 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-14 08:52:02.828492
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2), ('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2), ('/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_01_7642.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.60984134674072 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 0x75524990>: 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-14 08:55:04.156809
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2), ('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.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.48112630844116 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 0x754ea7b0>: 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-14 08:59:03.387917
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2), ('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.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: 150.0109565258026 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 0x754ed6f0>: 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-14 09:02:03.432034
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2), ('/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_01_4654.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: 144.04626989364624 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 0x75521690>: 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-14 09:05:03.914603
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg', 2), ('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_01_8024.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: 142.76369881629944 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 0x754609f0>: 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-14 09:08:03.413493
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg', 2), ('/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg', 2), ('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2), ('/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', 2), ('/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_01_5917.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_01_2480.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: 142.4661567211151 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 0x754c29f0>: 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-14 09:11:03.978345
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg', 2), ('/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_01_6979.jpg', 2), ('/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg', 2), ('/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', 2), ('/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg', 2), ('/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_01_6979.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_01_6979.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_01_3959.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_01_9481.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_01_4869.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: 146.21908020973206 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 0x754d9650>: 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-14 09:14:02.868463
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg', 2), ('/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg', 2), ('/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_02_0287.jpg', 2), ('/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg', 2), ('/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_01_6979.jpg', 2), ('/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_02_0287.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_01_6979.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_02_0287.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_01_6979.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_01_8559.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: 141.40922904014587 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 0x754bd690>: 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-14 09:17:03.380801
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg', 2), ('/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_01_9085.jpg', 2), ('/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg', 2), ('/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg', 2), ('/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_02_0287.jpg', 2), ('/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_01_9085.jpg', '/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_02_0287.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_01_9085.jpg
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_02_0287.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_02_0544.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.102929353714 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 0x754d29f0>: 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-14 09:20:03.190183
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_01_5966.jpg', 2), ('/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_01_8575.jpg', 2), ('/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg', 2), ('/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_01_9085.jpg', 2), ('/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg', 2), ('/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_01_5966.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_01_8575.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_01_9085.jpg', '/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_01_5966.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_01_8575.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_01_9085.jpg
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_01_9691.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_02_1457.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: 144.60032844543457 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 0x754d76b0>: 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-14 09:23:03.224354
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_01_3666.jpg', 2), ('/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_01_9031.jpg', 2), ('/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_01_4619.jpg', 2), ('/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_01_5966.jpg', 2), ('/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_01_8575.jpg', 2), ('/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_01_3666.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_01_9031.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_01_4619.jpg', '/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_01_5966.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_01_8575.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_01_3666.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_01_9031.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_01_4619.jpg
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_01_5966.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_01_8575.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_01_5448.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.9474470615387 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 0x75509710>: 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-14 09:26:06.281676
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg', 2), ('/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_01_4852.jpg', 2), ('/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_02_1769.jpg', 2), ('/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_01_3666.jpg', 2), ('/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_01_9031.jpg', 2), ('/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_01_4619.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg', '/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_01_4852.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_02_1769.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_01_3666.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_01_9031.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_01_4619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_01_4852.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_02_1769.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_01_3666.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_01_9031.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_01_4619.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.03610849380493 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 0x754af6f0>: 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-14 09:29:04.194955
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', 2), ('/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg', 2), ('/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg', 2), ('/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg', 2), ('/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_01_4852.jpg', 2), ('/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_02_1769.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg', '/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_01_4852.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_02_1769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_01_4852.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_02_1769.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: 141.19640135765076 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 0x755336d0>: 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-14 09:32:03.277651
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg', 2), ('/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg', 2), ('/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', 2), ('/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg', 2), ('/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg', 2), ('/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.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: 141.31135153770447 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 0x754dba50>: 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-14 09:35:03.834940
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg', 2), ('/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg', 2), ('/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', 2), ('/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg', 2), ('/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg', 2), ('/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_01_8718.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_01_7076.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_02_0613.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.0822160243988 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 0x75ef33d0>: 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-14 09:38:02.884002
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', 2), ('/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_02_0476.jpg', 2), ('/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg', 2), ('/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg', 2), ('/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_02_0476.jpg', '/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_02_0476.jpg
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_02_2925.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_02_1531.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_02_1254.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.1159098148346 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 0x754dd9d0>: 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-14 09:41:03.556374
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', 2), ('/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', 2), ('/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', 2), ('/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', 2), ('/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg', 2), ('/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_02_0476.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_02_0476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_02_0476.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.7597279548645 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 0x75498690>: 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-14 09:44:03.116612
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', 2), ('/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', 2), ('/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', 2), ('/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', 2), ('/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', 2), ('/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.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.40112686157227 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 0x754dc9f0>: 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-14 09:47:03.454965
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', 2), ('/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', 2), ('/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', 2), ('/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', 2), ('/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', 2), ('/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_02_2480.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: 142.25512099266052 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 0x754fd770>: 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-14 09:50:02.637579
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', 2), ('/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_01_7903.jpg', 2), ('/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', 2), ('/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', 2), ('/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', 2), ('/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', '/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_01_7903.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_01_7903.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_5766.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_02_0168.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_01_7594.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: 142.27141976356506 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 0x754a2670>: 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-14 09:53:03.862456
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_01_4982.jpg', 2), ('/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_01_3156.jpg', 2), ('/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_01_8126.jpg', 2), ('/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', 2), ('/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_01_7903.jpg', 2), ('/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_01_4982.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_01_3156.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_01_8126.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg', '/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_01_7903.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_01_4982.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_01_3156.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_01_8126.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_02_0319.jpg
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_01_7903.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_01_9784.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.2572648525238 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 0x7543b690>: 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-14 09:56:03.516965
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_01_6142.jpg', 2), ('/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_02_1262.jpg', 2), ('/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_02_0581.jpg', 2), ('/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_01_4982.jpg', 2), ('/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_01_3156.jpg', 2), ('/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_01_8126.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_01_6142.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_02_1262.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_02_0581.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_01_4982.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_01_3156.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_01_8126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_01_6142.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_02_1262.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_02_0581.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_01_4982.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_01_3156.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_01_8126.jpg
 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-14 09:59:03.656404
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_01_3783.jpg', 2), ('/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_02_0973.jpg', 2), ('/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_01_7077.jpg', 2), ('/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_01_6142.jpg', 2), ('/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_02_1262.jpg', 2), ('/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_02_0581.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_01_3783.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_02_0973.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_01_7077.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_01_6142.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_02_1262.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_02_0581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_01_3783.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_02_0973.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_01_7077.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_01_6142.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_02_1262.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_02_0581.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: 149.10171627998352 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 0x754aa6f0>: 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-14 10:02:03.232457
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_01_6149.jpg', 2), ('/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_01_8391.jpg', 2), ('/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_01_6824.jpg', 2), ('/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_01_3783.jpg', 2), ('/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_02_0973.jpg', 2), ('/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_01_7077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_01_6149.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_01_8391.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_01_6824.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_01_3783.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_02_0973.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_01_7077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_01_6149.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_01_8391.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_01_6824.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_01_3783.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_02_0973.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_01_7077.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.6067886352539 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 0x7549da30>: 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-14 10:05:03.481392
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_02_2473.jpg', 2), ('/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_01_9064.jpg', 2), ('/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_01_6374.jpg', 2), ('/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_01_6149.jpg', 2), ('/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_01_8391.jpg', 2), ('/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_01_6824.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_02_2473.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_01_9064.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_01_6374.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_01_6149.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_01_8391.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_01_6824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_02_2473.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_01_9064.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_01_6374.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_01_6149.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_01_8391.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_01_6824.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: 142.55734753608704 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 0x7549c6d0>: 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-14 10:08:02.565805
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_01_8464.jpg', 2), ('/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_01_5680.jpg', 2), ('/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_01_6350.jpg', 2), ('/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_02_2473.jpg', 2), ('/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_01_9064.jpg', 2), ('/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_01_6374.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_01_8464.jpg', '/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_01_5680.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_01_6350.jpg', '/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_02_2473.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_01_9064.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_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/10/07/image_14042025_10_07_01_8464.jpg
/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_01_5680.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_01_6350.jpg
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_02_2473.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_01_9064.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_01_6374.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: 142.66463780403137 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 0x754aa6b0>: 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-14 10:11:03.624807
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg', 2), ('/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_01_3001.jpg', 2), ('/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_01_6497.jpg', 2), ('/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_01_8464.jpg', 2), ('/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_01_5680.jpg', 2), ('/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_01_6350.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_01_3001.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_01_6497.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_01_8464.jpg', '/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_01_5680.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_01_6350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_01_3001.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_01_6497.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_01_8464.jpg
/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_01_5680.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_01_6350.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.80486750602722 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 0x754c39f0>: 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-14 10:14:03.346978
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg', 2), ('/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg', 2), ('/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg', 2), ('/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg', 2), ('/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_01_3001.jpg', 2), ('/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_01_6497.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg', '/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_01_3001.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_01_6497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_01_3001.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_01_6497.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.29179787635803 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 0x7546e9f0>: 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-14 10:17:03.596692
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg', 2), ('/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg', 2), ('/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg', 2), ('/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg', 2), ('/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg', 2), ('/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg', '/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg', '/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_01_3691.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: 139.24665188789368 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 0x754ae9b0>: 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-14 10:20:03.448117
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg', 2), ('/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg', 2), ('/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg', 2), ('/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg', 2), ('/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg', 2), ('/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg', '/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_01_5571.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_01_8287.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_01_6618.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: 138.58952856063843 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 0x7546f6b0>: 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-14 10:23:03.333883
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg', 2), ('/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg', 2), ('/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg', 2), ('/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg', 2), ('/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg', 2), ('/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_01_9125.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_01_7270.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.09329462051392 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 0x754576d0>: 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-14 10:26:07.085620
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg', 2), ('/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg', 2), ('/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg', 2), ('/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg', 2), ('/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg', 2), ('/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_01_7770.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.5924801826477 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 0x75460a70>: 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-14 10:29:03.292547
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg', 2), ('/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg', 2), ('/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg', 2), ('/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg', 2), ('/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg', 2), ('/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_01_9827.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_02_0766.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_01_5794.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: 141.4567165374756 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 0x7544e6b0>: 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-14 10:32:03.056294
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg', 2), ('/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg', 2), ('/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_01_4026.jpg', 2), ('/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg', 2), ('/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg', 2), ('/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg', '/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_01_4026.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_01_4026.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_01_5635.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_01_4324.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.8985710144043 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 0x75497ab0>: 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-14 10:35:04.156755
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg', 2), ('/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_01_4371.jpg', 2), ('/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg', 2), ('/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg', 2), ('/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_01_4026.jpg', 2), ('/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_01_4371.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg', '/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_01_4026.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_01_4371.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_01_4026.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_02_0349.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: 139.00616025924683 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 0x75471ab0>: 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-14 10:38:02.969561
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_9599.jpg', 2), ('/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_01_9310.jpg', 2), ('/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg', 2), ('/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_01_4371.jpg', 2), ('/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg', 2), ('/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_9599.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_01_9310.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_01_4371.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_9599.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_01_9310.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_01_4371.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_01_4039.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_01_4372.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: 139.38898825645447 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 0x7547d750>: 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-14 10:41:03.541579
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_02_2007.jpg', 2), ('/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_01_7001.jpg', 2), ('/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_02_2661.jpg', 2), ('/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_9599.jpg', 2), ('/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_01_9310.jpg', 2), ('/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_02_2007.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_01_7001.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_02_2661.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_9599.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_01_9310.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_02_2007.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_01_7001.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_02_2661.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_9599.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_01_9310.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_01_7082.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: 138.0106222629547 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 0x7547f790>: 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-14 10:44:03.347951
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_01_5689.jpg', 2), ('/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_01_8139.jpg', 2), ('/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_01_7125.jpg', 2), ('/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_02_2007.jpg', 2), ('/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_01_7001.jpg', 2), ('/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_02_2661.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_01_5689.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_01_8139.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_01_7125.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_02_2007.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_01_7001.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_02_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_01_5689.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_01_8139.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_01_7125.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_02_2007.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_01_7001.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_02_2661.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: 142.53240370750427 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 0x754dd6f0>: 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-14 10:47:03.442014
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2419.jpg', 2), ('/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_01_9493.jpg', 2), ('/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_01_5226.jpg', 2), ('/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_01_5689.jpg', 2), ('/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_01_8139.jpg', 2), ('/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_01_7125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2419.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_01_9493.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_01_5226.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_01_5689.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_01_8139.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_01_7125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2419.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_01_9493.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_01_5226.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_01_5689.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_01_8139.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_01_7125.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: 141.69076442718506 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 0x754ce6b0>: 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-14 10:50:03.133778
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_01_2816.jpg', 2), ('/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_01_7002.jpg', 2), ('/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_6237.jpg', 2), ('/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2419.jpg', 2), ('/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_01_9493.jpg', 2), ('/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_01_5226.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_01_2816.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_01_7002.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_6237.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2419.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_01_9493.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_01_5226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_01_2816.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_01_7002.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_6237.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2419.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_01_9493.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_01_5226.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: 141.1383535861969 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 0x754bba30>: 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-14 10:53:03.521234
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_01_7284.jpg', 2), ('/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_01_7400.jpg', 2), ('/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_01_4265.jpg', 2), ('/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_01_2816.jpg', 2), ('/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_01_7002.jpg', 2), ('/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_6237.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_01_7284.jpg', '/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_01_7400.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_01_4265.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_01_2816.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_01_7002.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_6237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_01_7284.jpg
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_01_7400.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_01_4265.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_01_2816.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_01_7002.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_6237.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: 139.9595341682434 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 0x7547c730>: 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-14 10:56:03.542201
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_01_9580.jpg', 2), ('/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_01_6315.jpg', 2), ('/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_01_2998.jpg', 2), ('/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_01_7284.jpg', 2), ('/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_01_7400.jpg', 2), ('/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_01_4265.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_01_9580.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_01_6315.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_01_2998.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_01_7284.jpg', '/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_01_7400.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_01_4265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_01_9580.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_01_6315.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_01_2998.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_01_7284.jpg
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_01_7400.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_01_4265.jpg
 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-14 10:59:03.656163
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_01_2466.jpg', 2), ('/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_02_1839.jpg', 2), ('/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_01_9821.jpg', 2), ('/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_01_9580.jpg', 2), ('/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_01_6315.jpg', 2), ('/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_01_2998.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_01_2466.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_02_1839.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_01_9821.jpg', '/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_01_9580.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_01_6315.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_01_2998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_01_2466.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_02_1839.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_01_9821.jpg
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_01_9580.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_01_6315.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_01_2998.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.3344850540161 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 0x754e5a50>: 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-14 11:02:02.724717
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_02_0763.jpg', 2), ('/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_01_8635.jpg', 2), ('/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_01_8000.jpg', 2), ('/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_01_2466.jpg', 2), ('/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_02_1839.jpg', 2), ('/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_01_9821.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_02_0763.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_01_8635.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_01_8000.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_01_2466.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_02_1839.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_01_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_02_0763.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_01_8635.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_01_8000.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_01_2466.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_02_1839.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_01_9821.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.479412317276 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 0x754fb9b0>: 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-14 11:05:03.894738
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_02_0870.jpg', 2), ('/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_01_4770.jpg', 2), ('/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_02_2580.jpg', 2), ('/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_02_0763.jpg', 2), ('/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_01_8635.jpg', 2), ('/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_01_8000.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_02_0870.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_01_4770.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_02_2580.jpg', '/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_02_0763.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_01_8635.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_01_8000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_02_0870.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_01_4770.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_02_2580.jpg
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_02_0763.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_01_8635.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_01_8000.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: 141.4952516555786 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 0x7544b6f0>: 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-14 11:08:02.784516
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_01_6644.jpg', 2), ('/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_02_1210.jpg', 2), ('/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_02_0878.jpg', 2), ('/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_02_0870.jpg', 2), ('/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_01_4770.jpg', 2), ('/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_02_2580.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_01_6644.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_02_1210.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_02_0878.jpg', '/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_02_0870.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_01_4770.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_02_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_01_6644.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_02_1210.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_02_0878.jpg
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_02_0870.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_01_4770.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_02_2580.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: 141.8058795928955 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 0x754a6630>: 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-14 11:11:03.230864
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_01_7124.jpg', 2), ('/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_01_3873.jpg', 2), ('/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_01_8326.jpg', 2), ('/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_01_6644.jpg', 2), ('/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_02_1210.jpg', 2), ('/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_02_0878.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_01_7124.jpg', '/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_01_3873.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_01_8326.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_01_6644.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_02_1210.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_02_0878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_01_7124.jpg
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_01_3873.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_01_8326.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_01_6644.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_02_1210.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_02_0878.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.56496357917786 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 0x7547f9b0>: 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-14 11:14:03.141549
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_01_2585.jpg', 2), ('/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_01_5551.jpg', 2), ('/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_01_2780.jpg', 2), ('/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_01_7124.jpg', 2), ('/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_01_3873.jpg', 2), ('/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_01_8326.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_01_2585.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_01_5551.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_01_2780.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_01_7124.jpg', '/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_01_3873.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_01_8326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_01_2585.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_01_5551.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_01_2780.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_01_7124.jpg
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_01_3873.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_01_8326.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: 139.85854864120483 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 0x754b5a30>: 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-14 11:17:03.455664
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_02_0746.jpg', 2), ('/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_01_7705.jpg', 2), ('/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_01_5081.jpg', 2), ('/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_01_2585.jpg', 2), ('/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_01_5551.jpg', 2), ('/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_01_2780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_02_0746.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_01_7705.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_01_5081.jpg', '/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_01_2585.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_01_5551.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_01_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_02_0746.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_01_7705.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_01_5081.jpg
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_01_2585.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_01_5551.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_01_2780.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: 138.7405345439911 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 0x754e6670>: 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-14 11:20:02.646383
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_01_3880.jpg', 2), ('/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_01_5670.jpg', 2), ('/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_01_4047.jpg', 2), ('/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_02_0746.jpg', 2), ('/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_01_7705.jpg', 2), ('/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_01_5081.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_01_3880.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_01_5670.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_01_4047.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_02_0746.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_01_7705.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_01_5081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_01_3880.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_01_5670.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_01_4047.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_02_0746.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_01_7705.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_01_5081.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.87126207351685 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 0x755376f0>: 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-14 11:23:03.690631
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg', 2), ('/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_01_4076.jpg', 2), ('/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_01_4804.jpg', 2), ('/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_01_3880.jpg', 2), ('/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_01_5670.jpg', 2), ('/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_01_4047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_01_4076.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_01_4804.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_01_3880.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_01_5670.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_01_4047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_01_4076.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_01_4804.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_01_3880.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_01_5670.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_01_4047.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: 142.0233006477356 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 0x754929f0>: 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-14 11:26:06.795218
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_01_6219.jpg', 2), ('/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_01_8920.jpg', 2), ('/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg', 2), ('/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_01_6023.jpg', 2), ('/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_01_4076.jpg', 2), ('/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_01_4804.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_01_6219.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_01_8920.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_01_6023.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_01_4076.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_01_4804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_01_6219.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_01_8920.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_01_6023.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_01_4076.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_01_4804.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.24312114715576 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 0x75532970>: 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-14 11:29:03.350480
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_02_1894.jpg', 2), ('/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_01_1763.jpg', 2), ('/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_01_3261.jpg', 2), ('/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_01_6219.jpg', 2), ('/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_01_8920.jpg', 2), ('/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_02_1894.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_01_1763.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_01_3261.jpg', '/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_01_6219.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_01_8920.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_02_1894.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_01_1763.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_01_3261.jpg
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_01_6219.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_01_8920.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_01_7895.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.75910353660583 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 0x7543b710>: 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-14 11:32:03.270687
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_01_3579.jpg', 2), ('/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_01_5698.jpg', 2), ('/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_02_2282.jpg', 2), ('/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_02_1894.jpg', 2), ('/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_01_1763.jpg', 2), ('/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_01_3261.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_01_3579.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_01_5698.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_02_2282.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_02_1894.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_01_1763.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_01_3261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_01_3579.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_01_5698.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_02_2282.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_02_1894.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_01_1763.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_01_3261.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.04805159568787 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 0x754c8630>: 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-14 11:35:03.712947
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_01_5774.jpg', 2), ('/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_01_9614.jpg', 2), ('/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_01_5224.jpg', 2), ('/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_01_3579.jpg', 2), ('/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_01_5698.jpg', 2), ('/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_02_2282.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_01_5774.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_01_9614.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_01_5224.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_01_3579.jpg', '/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_01_5698.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_02_2282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_01_5774.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_01_9614.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_01_5224.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_01_3579.jpg
/home/pi/Desktop/images/14042025/11/30/image_14042025_11_30_01_5698.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_02_2282.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: 138.81201243400574 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 0x754b0a90>: 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-14 11:38:03.414933
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_01_5380.jpg', 2), ('/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_01_8388.jpg', 2), ('/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_01_3683.jpg', 2), ('/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_01_5774.jpg', 2), ('/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_01_9614.jpg', 2), ('/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_01_5224.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_01_5380.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_01_8388.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_01_3683.jpg', '/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_01_5774.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_01_9614.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_01_5224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_01_5380.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_01_8388.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_01_3683.jpg
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_01_5774.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_01_9614.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_01_5224.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.48000597953796 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 0x754c8630>: 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-14 11:41:03.211352
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_01_3274.jpg', 2), ('/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_02_0071.jpg', 2), ('/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_01_7285.jpg', 2), ('/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_01_5380.jpg', 2), ('/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_01_8388.jpg', 2), ('/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_01_3683.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_01_3274.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_02_0071.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_01_7285.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_01_5380.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_01_8388.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_01_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_01_3274.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_02_0071.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_01_7285.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_01_5380.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_01_8388.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_01_3683.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: 142.82557201385498 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 0x75530a50>: 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-14 11:44:02.737291
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg', 2), ('/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_01_6076.jpg', 2), ('/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_01_3683.jpg', 2), ('/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_01_3274.jpg', 2), ('/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_02_0071.jpg', 2), ('/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_01_7285.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_01_6076.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_01_3683.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_01_3274.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_02_0071.jpg', '/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_01_7285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_01_6076.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_01_3683.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_01_3274.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_02_0071.jpg
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_01_7285.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: 142.4947407245636 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 0x7546f730>: 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-14 11:47:03.280152
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg', 2), ('/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_01_3137.jpg', 2), ('/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_01_8044.jpg', 2), ('/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg', 2), ('/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_01_6076.jpg', 2), ('/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_01_3683.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_01_3137.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_01_8044.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_01_6076.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_01_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_01_3137.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_01_8044.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_01_6076.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_01_3683.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: 141.1561939716339 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 0x755366f0>: 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-14 11:50:02.694307
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_01_4787.jpg', 2), ('/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_02_1500.jpg', 2), ('/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg', 2), ('/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_01_3137.jpg', 2), ('/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_01_8044.jpg', 2), ('/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_01_4787.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_02_1500.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_01_3137.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_01_8044.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_01_4787.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_02_1500.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_01_3137.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_01_8044.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_01_4050.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.94576621055603 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 0x75527750>: 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-14 11:53:03.746422
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_01_6717.jpg', 2), ('/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_01_3660.jpg', 2), ('/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_01_9191.jpg', 2), ('/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_01_4787.jpg', 2), ('/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_02_1500.jpg', 2), ('/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_01_6717.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_01_3660.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_01_9191.jpg', '/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_01_4787.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_02_1500.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_01_6717.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_01_3660.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_01_9191.jpg
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_01_4787.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_02_1500.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_01_6529.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: 144.21052026748657 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 0x755049d0>: 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-14 11:56:02.698847
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg', 2), ('/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg', 2), ('/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_01_8746.jpg', 2), ('/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_01_6717.jpg', 2), ('/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_01_3660.jpg', 2), ('/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_01_9191.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_01_8746.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_01_6717.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_01_3660.jpg', '/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_01_9191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_01_8746.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_01_6717.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_01_3660.jpg
/home/pi/Desktop/images/14042025/11/50/image_14042025_11_50_01_9191.jpg
 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-14 11:59:03.820326
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', 2), ('/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg', 2), ('/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg', 2), ('/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg', 2), ('/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg', 2), ('/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_01_8746.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_01_8746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_01_8746.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: 142.535582780838 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 0x75514750>: 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-14 12:02:02.907001
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg', 2), ('/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', 2), ('/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg', 2), ('/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg', 2), ('/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg', 2), ('/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_01_6822.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_01_8168.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: 142.65293431282043 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 0x7550f6b0>: 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-14 12:05:03.219179
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.jpg', 2), ('/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_02_2500.jpg', 2), ('/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg', 2), ('/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', 2), ('/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg', 2), ('/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_02_2500.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.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/04/image_14042025_12_04_01_8921.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_02_2500.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_3871.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_01_8330.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: 141.53034853935242 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 0x7549d710>: 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-14 12:08:03.194096
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_01_5791.jpg', 2), ('/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_01_4039.jpg', 2), ('/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.jpg', 2), ('/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_02_2500.jpg', 2), ('/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg', 2), ('/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_01_5791.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_01_4039.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_02_2500.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.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/06/image_14042025_12_06_01_5791.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_01_4039.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_02_2500.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_01_8723.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_01_7444.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.76349234580994 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 0x754636d0>: 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-14 12:11:03.701080
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_02_1628.jpg', 2), ('/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_01_9460.jpg', 2), ('/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_01_3144.jpg', 2), ('/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_01_5791.jpg', 2), ('/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_01_4039.jpg', 2), ('/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_02_1628.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_01_9460.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_01_3144.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_01_5791.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_01_4039.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.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/10/image_14042025_12_10_02_1628.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_01_9460.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_01_3144.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_01_5791.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_01_4039.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_01_8921.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: 139.45461511611938 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 0x7547d6d0>: 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-14 12:14:03.225876
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.jpg', 2), ('/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_01_9152.jpg', 2), ('/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_01_5820.jpg', 2), ('/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_02_1628.jpg', 2), ('/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_01_9460.jpg', 2), ('/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_01_3144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_01_9152.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_01_5820.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_02_1628.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_01_9460.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_01_3144.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/13/image_14042025_12_13_02_2248.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_01_9152.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_01_5820.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_02_1628.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_01_9460.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_01_3144.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: 144.25304293632507 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 0x754e16d0>: 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-14 12:17:03.760871
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.jpg', 2), ('/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_01_9152.jpg', 2), ('/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_01_5820.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_01_9152.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_01_5820.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/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
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_01_9152.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_01_5820.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: 142.91725730895996 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 0x755006d0>: 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-14 12:20:03.300866
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.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/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
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_02_2248.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: 142.57460951805115 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 0x7544c990>: 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-14 12:23:03.434421
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.64108324050903 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 0x754a7770>: 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-14 12:26:06.185741
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_01_4997.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_01_4997.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/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
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_01_4997.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.21275639533997 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 0x754a56d0>: 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-14 12:29:03.975032
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_01_9563.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_01_9563.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_01_9563.jpg
/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
 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: 139.50371551513672 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 0x75449a30>: 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-14 12:32:02.910307
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.76766204833984 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 0x75506a10>: 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-14 12:35:03.876841
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_01_8387.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_01_8387.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/34/image_14042025_12_34_01_8387.jpg
/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
 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: 138.00025391578674 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 0x75495a70>: 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-14 12:38:03.310714
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.88999223709106 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 0x7545c6f0>: 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-14 12:41:03.366300
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.0232355594635 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 0x7546ca30>: 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-14 12:44:02.871446
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.72109174728394 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 0x7543e6f0>: 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-14 12:47:03.875242
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_01_9249.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_01_9249.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/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
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_01_9249.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: 139.92850804328918 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 0x754cc690>: 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-14 12:50:03.021198
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.97747087478638 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 0x75511730>: 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-14 12:53:03.258909
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.97314739227295 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 0x7545fa70>: 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-14 12:56:03.524076
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_01_5630.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_01_5630.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_01_5630.jpg
/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
 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-14 12:59:03.737266
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 147.101548910141 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 0x75502770>: 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-14 13:02:03.133624
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_01_3920.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_01_3920.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/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
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_01_3920.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: 141.77778220176697 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 0x75507670>: 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-14 13:05:03.941189
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.2351484298706 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 0x754fea90>: 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-14 13:08:02.544751
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_02_0663.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_02_0663.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/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
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_02_0663.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.7747311592102 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 0x755206b0>: 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-14 13:11:03.208599
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_01_6374.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_01_6374.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/10/image_14042025_13_10_01_6374.jpg
/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
 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: 144.42879247665405 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 0x754dd650>: 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-14 13:14:03.083730
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.751939535141 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 0x754b4670>: 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-14 13:17:03.091314
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.9386887550354 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 0x7546f6d0>: 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-14 13:20:02.924491
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.30573511123657 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 0x7545a6b0>: 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-14 13:23:03.820462
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.61683249473572 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 0x755156d0>: 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-14 13:26:04.814200
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.93627214431763 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 0x755096b0>: 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-14 13:29:03.317850
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_01_8389.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_01_8389.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/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
/home/pi/Desktop/images/14042025/13/22/image_14042025_13_22_01_8389.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: 139.52533197402954 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 0x75525790>: 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-14 13:32:02.586358
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.44865489006042 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 0x754546f0>: 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-14 13:35:03.405764
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_02_1277.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_02_1277.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/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
/home/pi/Desktop/images/14042025/13/28/image_14042025_13_28_02_1277.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: 137.83321261405945 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 0x754ea9f0>: 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-14 13:38:03.489067
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 136.95087313652039 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 0x754dd730>: 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-14 13:41:03.193413
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_01_5089.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_01_5089.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/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
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_01_5089.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: 141.5568060874939 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 0x7545d690>: 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-14 13:44:02.805941
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.15725016593933 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 0x754a06f0>: 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-14 13:47:03.618639
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.5468168258667 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 0x7545e6b0>: 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-14 13:50:03.479272
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_01_5893.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_01_5893.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_01_5893.jpg
/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
 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: 138.8786642551422 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 0x754b4650>: 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-14 13:53:03.258896
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_01_4370.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_01_4370.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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_01_4370.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
/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
 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.41706895828247 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 0x7545b690>: 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-14 13:56:03.210725
  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 = 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! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 13:59:03.763379
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 146.43310475349426 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 0x754eca10>: 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-14 14:02:03.583432
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_01_4082.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_01_4082.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/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
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_01_4082.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.69562149047852 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 0x75532a70>: 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-14 14:05:03.362171
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.1209681034088 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 0x75460690>: 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-14 14:08:02.639956
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_01_7962.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_01_7962.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/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
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_01_7962.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.03536462783813 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 0x754bea70>: 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-14 14:11:03.138601
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 138.74417972564697 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 0x7545b6f0>: 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-14 14:14:03.378489
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.82712721824646 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 0x7550d9d0>: 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-14 14:17:03.522126
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_02_2947.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_02_2947.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_02_2947.jpg
/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
 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: 136.75540852546692 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 0x754d76b0>: 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-14 14:20:02.591120
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.999032497406 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 0x7551e6f0>: 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-14 14:23:03.943456
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_01_4948.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_01_4948.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_01_4948.jpg
/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
 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: 139.85495328903198 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 0x7552c970>: 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-14 14:26:06.403783
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.72347354888916 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 0x754626d0>: 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-14 14:29:03.673251
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_01_9272.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_01_9272.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_01_9272.jpg
/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
 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.63676953315735 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 0x754e89d0>: 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-14 14:32:02.991285
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 138.39917039871216 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 0x754daa30>: 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-14 14:35:04.095372
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 141.67814254760742 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 0x7545d730>: 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-14 14:38:03.096935
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.81535744667053 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 0x75507770>: 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-14 14:41:03.963508
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.15459442138672 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 0x7550da50>: 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-14 14:44:03.375614
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.94496154785156 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 0x7543ba10>: 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-14 14:47:03.446980
  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 = 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
 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: 139.06833267211914 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 0x7544d6f0>: 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-14 14:50:03.221451
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.61643862724304 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 0x7547a770>: 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-14 14:53:03.391744
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.64444375038147 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 0x754f1670>: 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-14 14:56:03.236148
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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-14 14:59:03.536863
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 146.0242919921875 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 0x754d0770>: 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-14 15:02:02.983828
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_01_6413.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_01_6413.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_01_6413.jpg
/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
 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.6544907093048 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 0x754df670>: 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-14 15:05:03.782926
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.1178708076477 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 0x754759f0>: 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-14 15:08:03.339658
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_01_5085.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_01_5085.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_01_5085.jpg
/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
 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: 138.69078922271729 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 0x75524a30>: 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-14 15:11:03.579274
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.78249073028564 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 0x75484730>: 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-14 15:14:03.272524
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_01_2710.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_01_2710.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_01_2710.jpg
/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
 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: 137.16521000862122 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 0x754e06b0>: 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-14 15:17:03.434041
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.31607508659363 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 0x755316b0>: 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-14 15:20:02.779822
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_01_7927.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_01_7927.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/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
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_01_7927.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: 141.17126655578613 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 0x75465650>: 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-14 15:23:03.120890
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.0348083972931 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 0x75466a10>: 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-14 15:26:06.749342
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.7346065044403 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 0x754eeab0>: 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-14 15:29:03.633593
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_02_0649.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_02_0649.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/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
/home/pi/Desktop/images/14042025/15/20/image_14042025_15_20_02_0649.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.04389476776123 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 0x754bb6b0>: 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-14 15:32:03.228642
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/33/image_14042025_15_33_01_8480.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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 137.53050088882446 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/14042025/15/33/image_14042025_15_33_01_8480.jpg'],)
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75398d90>: 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-14 15:35:03.317378
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.75365281105042 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 0x754f5750>: 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-14 15:38:02.992322
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_02_0895.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_02_0895.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_02_0895.jpg
/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
 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: 141.27652168273926 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 0x754d59f0>: 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-14 15:41:03.033080
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.5557885169983 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 0x75444a10>: 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-14 15:44:03.506020
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_5428.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_5428.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/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
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_5428.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: 144.29403686523438 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 0x7548aa10>: 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-14 15:47:03.727215
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_02_1176.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_02_1176.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_02_1176.jpg
/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
 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: 138.14231705665588 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 0x754ac6b0>: 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-14 15:50:02.643127
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 138.4372959136963 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 0x75454770>: 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-14 15:53:03.348984
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_01_8665.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_01_8665.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/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
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_01_8665.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: 142.0398485660553 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 0x7551b6d0>: 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-14 15:56:02.871228
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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-14 15:59:03.745416
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_01_5280.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_01_5280.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/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
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_01_5280.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.16420912742615 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 0x754536d0>: 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-14 16:02:02.689094
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_01_8677.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_01_8677.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/00/image_14042025_16_00_01_8677.jpg
/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
 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.3089611530304 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 0x754929d0>: 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-14 16:05:03.222184
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.09619784355164 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 0x755289f0>: 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-14 16:08:02.958453
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 143.623779296875 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 0x755176b0>: 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-14 16:11:03.488585
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.22193574905396 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 0x75491690>: 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-14 16:14:03.371123
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_01_4364.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_01_4364.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/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
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_01_4364.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: 141.5390224456787 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 0x75497730>: 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-14 16:17:03.844308
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.27627897262573 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 0x7551a6b0>: 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-14 16:20:03.480856
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.83927130699158 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 0x7546ea10>: 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-14 16:23:03.385558
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_01_3683.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_01_3683.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_01_3683.jpg
/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
 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: 144.25229930877686 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 0x754a46b0>: 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-14 16:26:05.231912
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.60626244544983 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 0x754d5a70>: 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-14 16:29:03.416065
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_02_0588.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_02_0588.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/28/image_14042025_16_28_02_0588.jpg
/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
 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: 142.62030386924744 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 0x754ed6f0>: 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-14 16:32:03.404402
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.82488679885864 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 0x754f5650>: 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-14 16:35:03.770656
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.6834011077881 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 0x754c19f0>: 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-14 16:38:05.120993
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.6280198097229 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 0x754b7a10>: 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-14 16:41:03.340806
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_01_3910.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_01_3910.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/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
/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_01_3910.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: 139.49877333641052 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 0x754f9a10>: 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-14 16:44:03.082919
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.07467341423035 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 0x754afa90>: 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-14 16:47:03.013510
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_01_5369.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_01_5369.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/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
/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_01_5369.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.34950995445251 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 0x754eb6b0>: 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-14 16:50:03.012146
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_01_6459.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_01_6459.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/49/image_14042025_16_49_01_6459.jpg
/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
 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: 142.54646635055542 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 0x754996b0>: 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-14 16:53:03.568427
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.18118333816528 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 0x7544b670>: 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-14 16:56:03.464331
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_01_5976.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_01_5976.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_01_5976.jpg
/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
 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-14 16:59:03.539260
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.74144506454468 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 0x755306b0>: 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-14 17:02:03.041617
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_01_6639.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_01_6639.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_01_6639.jpg
/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
 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: 139.31600284576416 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 0x75521ab0>: 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-14 17:05:03.172841
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 138.44068956375122 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 0x755279b0>: 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-14 17:08:02.693474
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_01_7873.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_01_7873.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/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
/home/pi/Desktop/images/14042025/17/00/image_14042025_17_00_01_7873.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.18554139137268 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 0x754986d0>: 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-14 17:11:03.469169
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.6076693534851 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 0x755136d0>: 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-14 17:14:03.578991
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_01_9850.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_01_9850.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/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
/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_01_9850.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.6992425918579 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 0x754f6a90>: 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-14 17:17:04.082270
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.39968013763428 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 0x7543f670>: 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-14 17:20:02.538885
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_01_5178.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_01_5178.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/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
/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_01_5178.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.2593491077423 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 0x754e66f0>: 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-14 17:23:03.931827
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.06333923339844 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 0x754b9a10>: 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-14 17:26:05.920495
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_01_7246.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_01_7246.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/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
/home/pi/Desktop/images/14042025/17/20/image_14042025_17_20_01_7246.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.39776420593262 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 0x75441750>: 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-14 17:29:03.874711
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_01_2000.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_01_2000.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_01_2000.jpg
/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
 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: 141.52197074890137 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 0x75eff450>: 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-14 17:32:02.779068
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.81108331680298 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 0x754429d0>: 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-14 17:35:03.351354
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.51207447052002 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 0x754c46b0>: 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-14 17:38:03.014883
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_01_6054.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_01_6054.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_01_6054.jpg
/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
 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.1027970314026 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 0x75530990>: 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-14 17:41:03.504575
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.8149209022522 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 0x754b16b0>: 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-14 17:44:02.970020
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 143.61017775535583 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 0x754d2670>: 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-14 17:47:03.523844
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.18639945983887 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 0x754eb730>: 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-14 17:50:02.821417
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_02_0531.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_02_0531.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/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
/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_02_0531.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: 142.08904695510864 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 0x7543c710>: 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-14 17:53:03.124775
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.99351048469543 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 0x755166b0>: 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-14 17:56:03.421432
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_01_7274.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_01_7274.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/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
/home/pi/Desktop/images/14042025/17/50/image_14042025_17_50_01_7274.jpg
 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-14 17:59:03.570142
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 149.18639278411865 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 0x7550f790>: 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-14 18:02:03.278151
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/03/image_14042025_18_03_01_9617.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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 138.43136167526245 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/14042025/18/03/image_14042025_18_03_01_9617.jpg'],)
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75451e30>: 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-14 18:05:03.749388
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.28085327148438 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 0x75452a30>: 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-14 18:08:02.925283
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.30904388427734 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 0x7548ba10>: 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-14 18:11:03.402528
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.02713298797607 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 0x75465670>: 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-14 18:14:03.392647
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.24716877937317 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 0x7547c730>: 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-14 18:17:04.008143
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 138.83139944076538 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 0x755356d0>: 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-14 18:20:02.798412
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 144.35943245887756 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 0x754ec730>: 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-14 18:23:03.100849
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.25704550743103 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 0x7547f6b0>: 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-14 18:26:05.942903
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_01_8690.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_01_8690.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/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
/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_01_8690.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: 144.72726392745972 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 0x75441a10>: 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-14 18:29:03.762005
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_01_5900.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_01_5900.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/18/28/image_14042025_18_28_01_5900.jpg
/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
 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.9951069355011 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 0x755056d0>: 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-14 18:32:02.925688
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.02439308166504 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 0x754cda10>: 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-14 18:35:03.504063
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 139.65047478675842 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 0x7548da10>: 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-14 18:38:02.818723
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.53919982910156 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 0x7548a9f0>: 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-14 18:41:04.000791
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.67797541618347 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 0x754bc6d0>: 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-14 18:44:02.889421
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.9890580177307 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 0x75509750>: 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-14 18:47:03.020208
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.05756831169128 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 0x754a2a50>: 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-14 18:50:02.688965
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.58979034423828 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 0x754cf6b0>: 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-14 18:53:03.533937
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_01_5624.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/53/image_14042025_18_53_01_5624.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/53/image_14042025_18_53_01_5624.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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 139.94543552398682 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 0x754b26f0>: 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-14 18:56:02.677942
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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-14 18:59:03.395820
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.5982677936554 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 0x75524930>: 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-14 19:02:02.979601
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_01_9492.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_01_9492.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/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
/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_01_9492.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.22008800506592 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 0x754e9690>: 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-14 19:05:03.341743
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_01_6480.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_01_6480.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_01_6480.jpg
/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
 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: 142.047749042511 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 0x754c46d0>: 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-14 19:08:03.712887
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.87851357460022 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 0x75439630>: 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-14 19:11:03.963721
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.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/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
/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.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: 139.83794951438904 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 0x75519a50>: 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-14 19:14:02.896887
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.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/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
/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_01_4654.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.1041829586029 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 0x75454750>: 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-14 19:17:03.849980
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.45921301841736 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 0x754486b0>: 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-14 19:20:03.068694
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.45457124710083 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 0x754839d0>: 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-14 19:23:03.415491
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.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/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
/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.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: 142.3126699924469 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 0x754c26d0>: 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-14 19:26:03.781482
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.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/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
/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.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: 141.12961268424988 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 0x7546e730>: 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-14 19:29:04.065264
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.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/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
/home/pi/Desktop/images/14042025/19/11/image_14042025_19_11_02_0074.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.05597829818726 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 0x754527b0>: 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-14 19:32:03.290865
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_02_2455.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_02_2455.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/30/image_14042025_19_30_02_2455.jpg
/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
 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.02866649627686 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 0x754d4a30>: 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-14 19:35:03.348900
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.1702218055725 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 0x755229d0>: 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-14 19:38:03.188782
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.64998602867126 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 0x754f9690>: 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-14 19:41:03.523797
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.51257491111755 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 0x75493710>: 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-14 19:44:03.419873
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_01_3084.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_01_3084.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_01_3084.jpg
/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
 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: 141.81033635139465 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 0x7551f730>: 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-14 19:47:02.990245
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.4407558441162 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 0x754a5a30>: 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-14 19:50:03.289977
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.34957242012024 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 0x7552a9b0>: 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-14 19:53:03.883431
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.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/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
/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.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: 144.06721663475037 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 0x754f1770>: 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-14 19:56:02.941871
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.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/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
/home/pi/Desktop/images/14042025/19/40/image_14042025_19_40_02_1231.jpg
 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-14 19:59:03.639305
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 147.83648824691772 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 0x754cf6d0>: 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-14 20:02:02.905361
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 147.7751500606537 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 0x754d1730>: 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-14 20:05:03.112101
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 141.64828729629517 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 0x7549e710>: 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-14 20:08:03.120125
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_01_5298.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_01_5298.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/04/image_14042025_20_04_01_5298.jpg
/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
 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.83082032203674 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 0x754d09b0>: 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-14 20:11:03.337049
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.8226137161255 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 0x75448670>: 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-14 20:14:03.417695
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 144.0602114200592 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 0x754666d0>: 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-14 20:17:03.815883
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.86568689346313 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 0x754576f0>: 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-14 20:20:02.732872
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_01_5172.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_01_5172.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/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
/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_01_5172.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.14549779891968 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 0x754c76f0>: 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-14 20:23:03.761432
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.40374374389648 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 0x754f56b0>: 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-14 20:26:06.937248
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.46287178993225 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 0x754db6d0>: 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-14 20:29:03.853156
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_02_1622.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_02_1622.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/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
/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_02_1622.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: 144.7363784313202 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 0x75532690>: 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-14 20:32:03.012433
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/33/image_14042025_20_33_01_6318.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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.66683721542358 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/14042025/20/33/image_14042025_20_33_01_6318.jpg'],)
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75371d70>: 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-14 20:35:03.678620
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.3112804889679 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 0x7549eab0>: 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-14 20:38:03.236456
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_01_7324.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_01_7324.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/20/37/image_14042025_20_37_01_7324.jpg
/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
 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: 142.9612090587616 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 0x7549f9f0>: 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-14 20:41:03.779813
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.61092019081116 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 0x755026f0>: 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-14 20:44:03.104660
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.48558807373047 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 0x754489f0>: 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-14 20:47:03.605583
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.19384574890137 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 0x754589d0>: 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-14 20:50:03.407578
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.5944697856903 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 0x7548d6f0>: 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-14 20:53:03.403173
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.9171645641327 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 0x75527a30>: 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-14 20:56:02.600761
  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 = 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! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 20:59:03.209579
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 147.62670803070068 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 0x754efa10>: 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-14 21:02:03.137430
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.77393054962158 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 0x7543f9f0>: 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-14 21:05:03.314218
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_01_5744.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_01_5744.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/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
/home/pi/Desktop/images/14042025/20/55/image_14042025_20_55_01_5744.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.79476141929626 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 0x754729f0>: 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-14 21:08:03.254678
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.0658061504364 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 0x754c06d0>: 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-14 21:11:04.224653
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.4110655784607 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 0x754756d0>: 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-14 21:14:03.592087
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.25364446640015 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 0x754bcaf0>: 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-14 21:17:03.911903
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.1184196472168 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 0x75504690>: 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-14 21:20:02.790310
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_01_8086.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_01_8086.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_01_8086.jpg
/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
 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: 142.44925737380981 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 0x7550ea70>: 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-14 21:23:03.443514
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_01_5133.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_01_5133.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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/23/image_14042025_21_23_01_5133.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
/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
 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: 146.11659455299377 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 0x754b6a10>: 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-14 21:26:05.751394
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.99836707115173 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 0x754c76b0>: 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-14 21:29:03.569421
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.3816111087799 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 0x754c99f0>: 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-14 21:32:02.747245
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.41317462921143 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 0x75478a50>: 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-14 21:35:02.927837
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_01_8586.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_01_8586.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/34/image_14042025_21_34_01_8586.jpg
/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
 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.42875051498413 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 0x754f7990>: 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-14 21:38:03.491525
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.05758452415466 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 0x7552f6d0>: 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-14 21:41:03.353968
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.39779710769653 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 0x754c96f0>: 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-14 21:44:03.545350
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 145.52364873886108 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 0x754ad690>: 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-14 21:47:03.709007
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 139.44922828674316 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 0x7552a6b0>: 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-14 21:50:03.400109
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.07556581497192 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 0x7544ba10>: 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-14 21:53:03.341864
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.3371832370758 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 0x754b36b0>: 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-14 21:56:03.308553
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_01_3563.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_01_3563.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/21/55/image_14042025_21_55_01_3563.jpg
/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
 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-14 21:59:03.776217
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 146.42050504684448 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 0x754666f0>: 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-14 22:02:02.761708
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.4862413406372 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 0x754c6690>: 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-14 22:05:03.318254
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 140.15802359580994 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 0x7550a670>: 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-14 22:08:03.023496
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.77693629264832 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 0x7544c730>: 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-14 22:11:03.742209
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 143.2540066242218 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 0x754a3a50>: 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-14 22:14:02.741443
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg', 2), ('/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg', '/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg
/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg
/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
 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.45722079277039 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 0x754fdad0>: 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-14 22:17:03.891294
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg', 2), ('/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg', '/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/13/image_14042025_22_13_01_9271.jpg
/home/pi/Desktop/images/14042025/22/11/image_14042025_22_11_01_6457.jpg
/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
 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: 141.49905395507812 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 0x75459710>: 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-14 22:20:02.994762
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.59631609916687 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 0x75497750>: 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-14 22:23:03.661634
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.1419539451599 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 0x754396b0>: 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-14 22:26:06.392718
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 146.84542298316956 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 0x754779b0>: 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-14 22:29:03.461861
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_01_2345.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_01_2345.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/28/image_14042025_22_28_01_2345.jpg
/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
 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.85711216926575 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 0x754c66f0>: 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-14 22:32:03.877692
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.6935248374939 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 0x75450650>: 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-14 22:35:03.579670
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_01_8674.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_01_8674.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/34/image_14042025_22_34_01_8674.jpg
/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
 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: 142.1290900707245 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 0x75479a30>: 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-14 22:38:02.967134
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.94527530670166 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 0x754cda50>: 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-14 22:41:03.258526
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.8584179878235 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 0x7546f6b0>: 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-14 22:44:02.742199
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.57274746894836 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 0x754489b0>: 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-14 22:47:03.819266
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_02_1445.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_02_1445.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/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
/home/pi/Desktop/images/14042025/22/33/image_14042025_22_33_02_1445.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.82165026664734 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 0x754406d0>: 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-14 22:50:03.027131
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 143.81454038619995 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 0x75505690>: 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-14 22:53:03.818578
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_01_7969.jpg
/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
 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: 142.21124482154846 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 0x754c29b0>: 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-14 22:56:03.023697
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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-14 22:59:03.341031
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 146.21910500526428 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 0x754cc6b0>: 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-14 23:02:03.453676
  port_id : 22346191
  datou_current_id : 2750516
in upload_from_sqlite, uploading in 22346191
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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/03/image_14042025_23_03_02_0487.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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.18555688858032 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/14042025/23/03/image_14042025_23_03_02_0487.jpg'],)
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75436d50>: 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-14 23:05:03.537804
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.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/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
/home/pi/Desktop/images/14042025/22/58/image_14042025_22_58_01_9327.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: 144.4204421043396 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 0x755269f0>: 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-14 23:08:03.491574
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.66775918006897 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 0x754e2710>: 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-14 23:11:03.171160
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.17951345443726 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 0x754616b0>: 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-14 23:14:02.907121
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.650399684906 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 0x75529690>: 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-14 23:17:03.300591
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.45398235321045 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 0x75522650>: 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-14 23:20:03.186703
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 145.8844244480133 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 0x754b0ab0>: 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-14 23:23:03.747725
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.5291645526886 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 0x7550c710>: 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-14 23:26:05.307026
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 142.17116022109985 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 0x75477670>: 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-14 23:29:03.913665
  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 = 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 142.764888048172 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 0x7547ea30>: 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-14 23:32:03.375046
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg
/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
 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: 142.503315448761 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 0x7552fa10>: 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-14 23:35:03.730285
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/29/image_14042025_23_29_01_6692.jpg
/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
 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: 141.34021592140198 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 0x75483ab0>: 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-14 23:38:02.567275
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 141.71027088165283 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 0x754dca30>: 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-14 23:41:04.080866
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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: 144.51755023002625 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 0x75484a10>: 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-14 23:44:02.680190
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.11826419830322 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 0x75455690>: 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-14 23:47:03.439160
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/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
/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
 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.55564546585083 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 0x755106f0>: 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-14 23:50:02.647725
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_02_0674.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_02_0674.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/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
/home/pi/Desktop/images/14042025/23/28/image_14042025_23_28_02_0674.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.55252051353455 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 0x7545ba30>: 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-14 23:53:03.537071
  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 = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.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', '/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'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750516&datou=0
/home/pi/Desktop/images/14042025/23/53/image_14042025_23_53_01_5254.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
/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
 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: 141.85221004486084 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 0x75470970>: 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-14 23:56:03.457457
  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 = 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! 
